正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
@@ -16,7 +16,7 @@ use think\Db; | @@ -16,7 +16,7 @@ use think\Db; | ||
16 | */ | 16 | */ |
17 | class User extends Api | 17 | class User extends Api |
18 | { | 18 | { |
19 | - protected $noNeedLogin = ['third','joinUs','getPhoneNumber']; | 19 | + protected $noNeedLogin = ['third','joinUs']; |
20 | protected $noNeedRight = '*'; | 20 | protected $noNeedRight = '*'; |
21 | 21 | ||
22 | public function _initialize() | 22 | public function _initialize() |
@@ -135,6 +135,7 @@ class User extends Api | @@ -135,6 +135,7 @@ class User extends Api | ||
135 | /** | 135 | /** |
136 | * @ApiTitle (用户授权获取手机号) | 136 | * @ApiTitle (用户授权获取手机号) |
137 | * @ApiMethod (POST) | 137 | * @ApiMethod (POST) |
138 | + * @ApiHeaders (name=token, type=string, required=true, description="请求的Token") | ||
138 | * @ApiParams (name="sessionKey", type="string", required=true, description="小程序sessionKey") | 139 | * @ApiParams (name="sessionKey", type="string", required=true, description="小程序sessionKey") |
139 | * @ApiParams (name="iv", type="string", required=true, description="小程序iv") | 140 | * @ApiParams (name="iv", type="string", required=true, description="小程序iv") |
140 | * @ApiParams (name="encryptedData", type="string", required=true, description="小程序encryptedData") | 141 | * @ApiParams (name="encryptedData", type="string", required=true, description="小程序encryptedData") |
-
请 注册 或 登录 后发表评论