This commit is contained in:
suyl
2021-08-24 17:51:27 +08:00
parent 4bcdcfed15
commit cfe70ccd14
3 changed files with 10 additions and 1 deletions

View File

@@ -431,6 +431,9 @@ func RefreshStoreManageState(ctx *jxcontext.Context, storeIDs []int, vendorIDs [
return retVal, err
}
storeDetail, _ := dao.GetStoreDetail(db, storeMap.StoreID, vendorID, storeMap.VendorOrgCode)
if storeDetail == nil {
return retVal, err
}
storeManage := buildStoreManageState(ctx, db, storeMap, storeDetail, messageFlag)
if storeManage == nil {
return retVal, err
@@ -447,6 +450,9 @@ func RefreshStoreManageState(ctx *jxcontext.Context, storeIDs []int, vendorIDs [
return retVal, err
}
storeDetail, _ := dao.GetStoreDetail(db, storeMap.StoreID, vendorID, storeMap.VendorOrgCode)
if storeDetail == nil {
return retVal, err
}
storeManage := buildStoreManageState(ctx, db, storeMap, storeDetail, messageFlag)
if storeManage == nil {
return retVal, err

View File

@@ -129,7 +129,7 @@ func (c *PrinterHandler) getOrderContent(order *model.GoodsOrder, storeTel strin
客户备注: <br>
<b>%s</b><br>
<br>
<sound>您有新订单啦!</sound>
<br>
商品明细: <br>
品名 数量 单价 小计<br>

View File

@@ -385,6 +385,9 @@ fnAppID = "6a3e2073-1850-413b-9eb7-6c342ec36e1c"
fnAppSecret = "a8248088-a742-4c33-a0db-03aeae00ca7d"
fnCallbackURL = "http://callback-jxgy.jxc4.com/fn/msg"
jxPrintAppID = "1000"
jxPrintAppKey = "rfBd56ti2SMtYvSg"
storeName = "京西果园"
[test]