修正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
|
||||
|
||||
ENV TIMEZONE=${timezone:-"Asia/Shanghai"} \
|
||||
APP_ENV=prod \
|
||||
SCAN_CACHEABLE=(true)
|
||||
# APP_ENV=prod \
|
||||
# SCAN_CACHEABLE=(true)
|
||||
|
||||
# update
|
||||
RUN set -ex \
|
||||
|
||||
@ -125,7 +125,7 @@ class WeChat
|
||||
if (isset($result['errcode'])){
|
||||
if ($result['errcode'] == "40029"){
|
||||
// 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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user