修正dockerfile配置
This commit is contained in:
parent
23aa5dd37f
commit
f7d1004db4
@ -15,8 +15,8 @@ LABEL maintainer="Hyperf Developers <group@hyperf.io>" version="1.0" license="MI
|
|||||||
ARG timezone
|
ARG timezone
|
||||||
|
|
||||||
ENV TIMEZONE=${timezone:-"Asia/Shanghai"} \
|
ENV TIMEZONE=${timezone:-"Asia/Shanghai"} \
|
||||||
APP_ENV=prod \
|
# APP_ENV=prod \
|
||||||
SCAN_CACHEABLE=(true)
|
# SCAN_CACHEABLE=(true)
|
||||||
|
|
||||||
# update
|
# update
|
||||||
RUN set -ex \
|
RUN set -ex \
|
||||||
|
|||||||
@ -125,7 +125,7 @@ class WeChat
|
|||||||
if (isset($result['errcode'])){
|
if (isset($result['errcode'])){
|
||||||
if ($result['errcode'] == "40029"){
|
if ($result['errcode'] == "40029"){
|
||||||
// code过期
|
// code过期
|
||||||
throw new BusinessException( HttpEnumCode::getMessage(HttpEnumCode::GET_WX_ERROR),HttpEnumCode::WX_CODE_ERROR);
|
throw new BusinessException( HttpEnumCode::getMessage(HttpEnumCode::GET_WX_ERROR),HttpEnumCode::GET_WX_ERROR);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
throw new BusinessException( $response->toJson(false),HttpEnumCode::GET_WX_ERROR);
|
throw new BusinessException( $response->toJson(false),HttpEnumCode::GET_WX_ERROR);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user