正在显示
3 个修改的文件
包含
6 行增加
和
3 行删除
@@ -255,4 +255,7 @@ return [ | @@ -255,4 +255,7 @@ return [ | ||
255 | 'cmf_default_theme' => 'simpleboot3', | 255 | 'cmf_default_theme' => 'simpleboot3', |
256 | 'cmf_admin_theme_path' => 'themes/admin/', | 256 | 'cmf_admin_theme_path' => 'themes/admin/', |
257 | 'cmf_admin_default_theme' => 'simpleboot3', | 257 | 'cmf_admin_default_theme' => 'simpleboot3', |
258 | + //小程序配置 | ||
259 | + 'app_id' => 'wx6149ccc056174103', | ||
260 | + 'app_secret' => 'bef1c788d8e30a9a7ad71db6dfb25813', | ||
258 | ]; | 261 | ]; |
@@ -82,7 +82,7 @@ class MemberCenterController extends RestBaseController | @@ -82,7 +82,7 @@ class MemberCenterController extends RestBaseController | ||
82 | * @param name:photo type:str require:1 other: desc:照片 | 82 | * @param name:photo type:str require:1 other: desc:照片 |
83 | */ | 83 | */ |
84 | public function submit_form(){ | 84 | public function submit_form(){ |
85 | - $user_id = 1;//$this->getUserId(); | 85 | + $user_id = $this->getUserId(); |
86 | $param = $this->request->param(); | 86 | $param = $this->request->param(); |
87 | $validate = new Validate([ | 87 | $validate = new Validate([ |
88 | 'name' => 'require', | 88 | 'name' => 'require', |
@@ -15,8 +15,8 @@ return [ | @@ -15,8 +15,8 @@ return [ | ||
15 | /** | 15 | /** |
16 | * 账号基本信息,请从微信公众平台/开放平台获取 | 16 | * 账号基本信息,请从微信公众平台/开放平台获取 |
17 | */ | 17 | */ |
18 | - 'app_id' => 'wxb4238fbc5c39db5d', // AppID | ||
19 | - 'secret' => '9d95998ab1a23374c7235a30b53f3a3c', // AppSecret | 18 | + 'app_id' => 'wx6149ccc056174103', // AppID |
19 | + 'secret' => 'bef1c788d8e30a9a7ad71db6dfb25813', // AppSecret | ||
20 | 'token' => 'bronet', // Token | 20 | 'token' => 'bronet', // Token |
21 | 'aes_key' => 'qblu4O3peCTWjLLEqKqLjQhJNNeCTi2se2EPeVARsbk', // EncodingAESKey,安全模式下请一定要填写!!! | 21 | 'aes_key' => 'qblu4O3peCTWjLLEqKqLjQhJNNeCTi2se2EPeVARsbk', // EncodingAESKey,安全模式下请一定要填写!!! |
22 | /** | 22 | /** |
-
请 注册 或 登录 后发表评论