|
@@ -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('授权失败,参数有误');
|