This commit is contained in:
邹宗楠
2024-01-08 17:44:00 +08:00
parent d19d4573b9
commit 31ca7605c8
2 changed files with 2 additions and 2 deletions

View File

@@ -132,7 +132,7 @@ func (c *ApiController) CallOpenAPI() {
goto end
} else {
globals.SugarLogger.Debugf("=====app %s", utils.Format4Output(app, false))
if app.Status != model.UserStatusNormal || app.DeletedAt != &utils.DefaultTimeValue {
if app.Status != model.UserStatusNormal || app.DeletedAt != utils.DefaultTimeValue {
errCode = model.ErrCodeGeneralFailed
err = fmt.Errorf("很抱歉您的应用已失效!")
goto end