From f7d1004db49bcb94bc699cbd1d6d5664aaa05fc9 Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Mon, 20 Feb 2023 11:39:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3dockerfile=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 ++-- app/Utils/WeChat.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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);