作者 tangxuhui

数据格式调整

... ... @@ -37,8 +37,12 @@ type DividendsReturnedOrderInfo struct {
}
func ToDividendsReturnedOrderInfo(param *allied_creation_cooperation.DividendsReturnedOrder) *DividendsReturnedOrderInfo {
goods := param.Goods
if len(param.Goods) == 0 {
goods = []allied_creation_cooperation.DividendsReturnedOrderGoods{}
}
data := DividendsReturnedOrderInfo{
Goods: param.Goods,
Goods: goods,
Org: param.Org,
Region: param.Region,
Company: param.Company,
... ...
... ... @@ -128,7 +128,7 @@ type (
DividendsReturnedOrderIDs []string `json:"dividendsReturnedOrderIds"` //分红退货单记录id
}
DataDividendsReturnedOrderBatchRemove struct {
DataDividendsReturnedOrderBatchRemove []struct {
}
)
... ...