修正dockerfile配置

This commit is contained in:
wucongxing 2023-02-20 11:39:40 +08:00
parent 23aa5dd37f
commit f7d1004db4
2 changed files with 3 additions and 3 deletions

View File

@ -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 \

View File

@ -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);