diff --git a/rule/public_platoon_relate_commission.go b/rule/public_platoon_relate_commission.go index e1d63cb..939e693 100644 --- a/rule/public_platoon_relate_commission.go +++ b/rule/public_platoon_relate_commission.go @@ -18,7 +18,7 @@ import ( // BatchGetPublicPlatoonRelateCommission 批量分佣 订单显示 func BatchGetPublicPlatoonRelateCommissionByOrder(engine *xorm.Engine, masterId string, PublicPlatoonRelateCommissionReqList []*md.PublicPlatoonRelateCommissionReq) (map[string]*md.PublicPlatoonRelateCommissionResp, error) { - var resp map[string]*md.PublicPlatoonRelateCommissionResp + var resp = make(map[string]*md.PublicPlatoonRelateCommissionResp) userPublicPlatoonSetting, err := db.UserPublicPlatoonSettingGetOneByParams(engine, map[string]interface{}{ "key": "is_open", "value": 1,