소스 검색

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

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

+ 3 - 5
application/index/controller/User.php

@@ -22,11 +22,9 @@ class User extends BaseController {
         if (empty($channelId)){
             throw new ApiException('渠道id不为空');
         }
-        var_dump(input());
-        die();
-        if (empty(input('unionid'))){
-            throw new ApiException('unionid不为空');
-        }
+//        if (empty(input('unionid'))){
+//            throw new ApiException('unionid不为空');
+//        }
         $params = [
             'id'     => $channelId,
             'userid' => input('unionid'),