修改测试链接数据库,测试

This commit is contained in:
邹宗楠
2022-02-28 15:21:10 +08:00
parent 16637d25c9
commit 59364cc660
2 changed files with 7 additions and 2 deletions

View File

@@ -324,6 +324,9 @@ func (c *Auth2Controller) AddAuthBind() {
func (c *Auth2Controller) AddAuthBindWithMobile() {
c.callAddAuthBindWithMobile(func(params *tAuth2AddAuthBindWithMobileParams) (retVal interface{}, errCode string, err error) {
newAuthInfo, err := auth2.GetTokenInfo(params.AuthToken)
if err != nil {
return retVal, "", err
}
err = auth2.AddAuthBindWithMobile(newAuthInfo, params.Mobile)
return retVal, "", err
})