diff --git a/Dockerfile b/Dockerfile index 5f79621..1ece69b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,8 +15,8 @@ LABEL maintainer="Hyperf Developers " 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 \ diff --git a/app/Utils/WeChat.php b/app/Utils/WeChat.php index fa5135c..da5293f 100644 --- a/app/Utils/WeChat.php +++ b/app/Utils/WeChat.php @@ -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);