zxhxx 3 年之前
父节点
当前提交
0748198030
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      application/api/controller/MiniProgram.php

+ 1 - 0
application/api/controller/MiniProgram.php

@@ -28,6 +28,7 @@ class MiniProgram extends  Api
             ['cache_key', ''],
             ['cache_key', ''],
             ['login_type', '']
             ['login_type', '']
         ], $request, true);
         ], $request, true);
+        @file_put_contents("mp.txt",$this->cid);
         $session_key = cache('post_cache_key',$post_cache_key);
         $session_key = cache('post_cache_key',$post_cache_key);
         if (!$code && !$session_key)
         if (!$code && !$session_key)
             $this->error('授权失败,参数有误');
             $this->error('授权失败,参数有误');