Browse Source

fix:修改创建圈量配置

jimmyyem 4 weeks ago
parent
commit
c69a32f4f8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      internal/logic/xunji/create_xunji_logic.go

+ 1 - 1
internal/logic/xunji/create_xunji_logic.go

@@ -28,7 +28,7 @@ func (l *CreateXunjiLogic) CreateXunji(req *types.XunjiInfo) (*types.BaseMsgResp
 	organizationId := l.ctx.Value("organizationId").(uint64)
 
 	_, err := l.svcCtx.DB.Xunji.Create().
-		SetStatus(1).
+		SetNotNilStatus(req.Status).
 		SetNotNilAppKey(req.AppKey).
 		SetNotNilAppSecret(req.AppSecret).
 		SetNotNilToken(req.Token).