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