소스 검색

feat():修改获取授权码的方式

geek 4 년 전
부모
커밋
4752917775
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      application/index/controller/User.php

+ 1 - 0
application/index/controller/User.php

@@ -22,6 +22,7 @@ class User extends BaseController {
         if (empty($channelId)){
             throw new ApiException('渠道id不为空');
         }
+        file_put_contents('log', json_encode(input()), FILE_APPEND);
 //        if (empty(input('unionid'))){
 //            throw new ApiException('unionid不为空');
 //        }