审核门店
This commit is contained in:
@@ -44,6 +44,7 @@ func (c *DeliveryHandler) OnStoreStatus(msg *mtpsapi.CallbackShopStatusMsg) (ret
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (c *DeliveryHandler) CreateStore(ctx *jxcontext.Context, storeDetail *dao.StoreDetail2) (vendorStoreID string, status int, err error) {
|
func (c *DeliveryHandler) CreateStore(ctx *jxcontext.Context, storeDetail *dao.StoreDetail2) (vendorStoreID string, status int, err error) {
|
||||||
|
if globals.EnableStoreWrite {
|
||||||
businessHours := []*mtpsapi.BusinessHour{
|
businessHours := []*mtpsapi.BusinessHour{
|
||||||
&mtpsapi.BusinessHour{
|
&mtpsapi.BusinessHour{
|
||||||
BeginTime: "06:00",
|
BeginTime: "06:00",
|
||||||
@@ -75,6 +76,7 @@ func (c *DeliveryHandler) CreateStore(ctx *jxcontext.Context, storeDetail *dao.S
|
|||||||
vendorStoreID = utils.Int64ToStr(jxutils.GenFakeID())
|
vendorStoreID = utils.Int64ToStr(jxutils.GenFakeID())
|
||||||
status = model.StoreAuditStatusOnline
|
status = model.StoreAuditStatusOnline
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return vendorStoreID, status, err
|
return vendorStoreID, status, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user