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