Explorar o código

feat():授权

geek %!s(int64=4) %!d(string=hai) anos
pai
achega
f8f0af62b6
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      application/index/controller/User.php

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

@@ -20,6 +20,7 @@ class User extends BaseController {
             'avatar' => input('avatar'),
             'key'    => md5(input('userid').CommonService::getSetData()['channel_auth_code'])
         ];
+        session('unionid', input('unionid'));
         header('Location:http://mudu.tv/activity.php?a=userAssign&'.http_build_query($params));
     }
 }