Browse Source

no message

xingzai 1 year ago
parent
commit
977bc51c17
1 changed files with 1 additions and 0 deletions
  1. 1 0
      controllers/user.go

+ 1 - 0
controllers/user.go

@@ -426,6 +426,7 @@ func (this *UserController) Detail() {
 				detail.UserCardType = 2
 				detail.UserCardEndDate = userCard.EndDate.Format(utils.FormatDate)
 			}
+			hasPermission = 1 // 开通日卡月卡之后,用户有权限
 		}
 
 		if detail.Mobile != "" {