正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -550,7 +550,7 @@ type postRealOrderDetail struct { | @@ -550,7 +550,7 @@ type postRealOrderDetail struct { | ||
550 | ShipmentsId string `json:"shipmentsId"` //发货单号 | 550 | ShipmentsId string `json:"shipmentsId"` //发货单号 |
551 | } | 551 | } |
552 | 552 | ||
553 | -func (postData postRealOrderDetail) Valid() error { | 553 | +func (postData *postRealOrderDetail) Valid() error { |
554 | postData.ShipmentsId = strings.TrimSpace(postData.ShipmentsId) | 554 | postData.ShipmentsId = strings.TrimSpace(postData.ShipmentsId) |
555 | if len(postData.ShipmentsId) == 0 { | 555 | if len(postData.ShipmentsId) == 0 { |
556 | return lib.ThrowError(lib.ARG_ERROR, "订单的发货单号必填") | 556 | return lib.ThrowError(lib.ARG_ERROR, "订单的发货单号必填") |
-
请 注册 或 登录 后发表评论