diff --git a/business/jxstore/cms/store.go b/business/jxstore/cms/store.go index 09ecc522b..75e2fc618 100644 --- a/business/jxstore/cms/store.go +++ b/business/jxstore/cms/store.go @@ -3568,6 +3568,9 @@ func CreateStoreAudit(ctx *jxcontext.Context, storeAudit *model.StoreAudit) (err if len(storeAudits) > 0 { return fmt.Errorf("您已申请过入驻,请不要重复申请!") } + if storeAudit.UserID == "" { + storeAudit.UserID = ctx.GetUserID() + } dao.WrapAddIDCULDEntity(storeAudit, ctx.GetUserName()) dao.CreateEntity(db, storeAudit) return err