修改测试链接数据库,测试
This commit is contained in:
@@ -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
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user