From 9a21291172c24b9f7f29c266097380a2af9bf0b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=96=E5=8F=AB?= <392494244@qq.com> Date: Wed, 29 Nov 2023 10:47:35 +0800 Subject: [PATCH] 1 --- ...1616632366366625d5b315d.doctrinecache.data | 4 +- modules/admin/models/wechat/WechatAppForm.php | 2 +- modules/admin/views/wechat/mp.php | 39 +------------------ 3 files changed, 5 insertions(+), 40 deletions(-) diff --git a/cxe/wechat/src/runtime/cache/3f/5b34666630303436616631646639646263373033366130323461616632366366625d5b315d.doctrinecache.data b/cxe/wechat/src/runtime/cache/3f/5b34666630303436616631646639646263373033366130323461616632366366625d5b315d.doctrinecache.data index ef5fbed..edd865e 100644 --- a/cxe/wechat/src/runtime/cache/3f/5b34666630303436616631646639646263373033366130323461616632366366625d5b315d.doctrinecache.data +++ b/cxe/wechat/src/runtime/cache/3f/5b34666630303436616631646639646263373033366130323461616632366366625d5b315d.doctrinecache.data @@ -1,2 +1,2 @@ -1682240503 -s:136:"67_4d1bJAmheZotzysyLU8428ANKsFJU4DoqWUwCjXh9jyQTrsMqqVF31VJZSEhP0htd8QZAoK9NasJ6D3YBRw9LSBVRbaw8xRxoc4zpXKHpMl6l9raRv5sTnXNo1AQRPaAJAEFD"; \ No newline at end of file +1701229641 +s:136:"75_5H623nqzoQP_iaZt6m5gMPukCzYYcw3tqmfBlOwWiLmf6VVRSMLPNk98S2OnuHXNmvKSUMsbIzOsfn2lccF4XIzoawfwNPVj9ibLtPiU3gcRnOHlUhxUXqOX4IQSUSbAJAIKI"; \ No newline at end of file diff --git a/modules/admin/models/wechat/WechatAppForm.php b/modules/admin/models/wechat/WechatAppForm.php index 3ec31dd..1716a64 100644 --- a/modules/admin/models/wechat/WechatAppForm.php +++ b/modules/admin/models/wechat/WechatAppForm.php @@ -39,7 +39,7 @@ class WechatAppForm extends AdminModel { return [ [['name','app_id', 'app_secret', 'mch_id', 'key', 'cert_pem', 'key_pem','key_three'], 'trim'], - [['name','app_id', 'app_secret', 'mch_id', 'key', 'model', 'cx_mch_id','key_three'], 'required'], + [['name','app_id', 'app_secret', ], 'required'], [['cx_mch_id'], 'integer'], ]; } diff --git a/modules/admin/views/wechat/mp.php b/modules/admin/views/wechat/mp.php index 384b98c..b05baea 100644 --- a/modules/admin/views/wechat/mp.php +++ b/modules/admin/views/wechat/mp.php @@ -38,43 +38,8 @@ $this->params['breadcrumbs'][] = $this->title;
-
- -
- -
-
-
-
- -
-
- -
已隐藏内容,点击查看或编辑
-
-
-
-
-
- -
-
- -
已隐藏内容,点击查看或编辑
-
-
使用文本编辑器打开apiclient_cert.pem文件,将文件的全部内容复制进来
-
-
-
- -
-
- -
已隐藏内容,点击查看或编辑
-
-
使用文本编辑器打开apiclient_key.pem文件,将文件的全部内容复制进来
-
-
+ +