- 注释掉老user与auth相关的代码
This commit is contained in:
@@ -448,13 +448,13 @@ func HandleUserWXRemark(db *dao.DaoDB, mobile string, mobileIsUerID bool) (err e
|
||||
storeID := 0
|
||||
remark := ""
|
||||
|
||||
if !globals.DisableWXAuth1 {
|
||||
wxinfo, err := dao.GetUserStoreInfo(db, "tel", mobile)
|
||||
if err == nil {
|
||||
openIDs = []string{wxinfo.OpenID}
|
||||
storeID = wxinfo.JxStoreID
|
||||
}
|
||||
}
|
||||
// if !globals.DisableWXAuth1 {
|
||||
// wxinfo, err := dao.GetUserStoreInfo(db, "tel", mobile)
|
||||
// if err == nil {
|
||||
// openIDs = []string{wxinfo.OpenID}
|
||||
// storeID = wxinfo.JxStoreID
|
||||
// }
|
||||
// }
|
||||
if globals.EnableWXAuth2 {
|
||||
userID := ""
|
||||
if mobileIsUerID {
|
||||
|
||||
Reference in New Issue
Block a user