Browse Source

wip:提交

wangkaiyue 1 năm trước cách đây
mục cha
commit
0ea57288a0
1 tập tin đã thay đổi với 3 bổ sung2 xóa
  1. 3 2
      src/jfw/modules/bigmember/src/service/use/custom.go

+ 3 - 2
src/jfw/modules/bigmember/src/service/use/custom.go

@@ -18,8 +18,9 @@ func (u *Use) GetCustom() {
 			if userid == "" || t == "kf" {
 				return
 			}
+
 			bigPower := jy.GetBigVipUserBaseMsg(u.Session(), *config.Middleground)
-			if (bigPower.Status <= 0 && bigPower.EntnicheStatus <= 0) || bigPower.EntName != "" {
+			if (bigPower.Status <= 0 && bigPower.EntnicheStatus <= 0) || bigPower.EntName == "" {
 				return ""
 			}
 			info := db.MysqlSubject.FindOne("dwd_f_csm_customer_info", map[string]interface{}{
@@ -29,7 +30,7 @@ func (u *Use) GetCustom() {
 			if info != nil && len(*info) > 0 {
 				customName = qu.ObjToString((*info)["name"])
 			}
-			return ""
+			return
 		}()
 		return Result{Data: getWxm(cName)}
 	}()