Merge branch 'jdshop' of https://e.coding.net/rosydev/jx-callback into jdshop
This commit is contained in:
@@ -1030,7 +1030,6 @@ type RelInfo struct {
|
||||
func ToStringSlice(actual interface{}) ([]string, error) {
|
||||
var res []string
|
||||
value := reflect.ValueOf(actual)
|
||||
globals.SugarLogger.Debugf("value.Kind()=========%s", value.Kind())
|
||||
if value.Kind() != reflect.Slice || value.Kind() != reflect.Array {
|
||||
return nil, errors.New("parse error")
|
||||
}
|
||||
|
||||
@@ -300,7 +300,6 @@ func SpecialTreat(vendorOrgCode string, vendorStoreID, storeID, deliveryFeeDeduc
|
||||
}
|
||||
} else { //更新为起送价模板
|
||||
if updateSaleLimitID, err := UpdateTradeLimitTemplate(vendorOrgCode, bindSaleLimitID, minPrice); err != nil {
|
||||
globals.SugarLogger.Debugf("进入更新门店起送价限售模板,minPrice=======%d", minPrice)
|
||||
errList.AddErr(fmt.Errorf("更新门店起送价限售模板失败:%v", err))
|
||||
} else {
|
||||
FreightTemplate.TradeLimitID = updateSaleLimitID
|
||||
|
||||
Reference in New Issue
Block a user