...
|
...
|
@@ -550,7 +550,7 @@ type postRealOrderDetail struct { |
|
|
ShipmentsId string `json:"shipmentsId"` //发货单号
|
|
|
}
|
|
|
|
|
|
func (postData postRealOrderDetail) Valid() error {
|
|
|
func (postData *postRealOrderDetail) Valid() error {
|
|
|
postData.ShipmentsId = strings.TrimSpace(postData.ShipmentsId)
|
|
|
if len(postData.ShipmentsId) == 0 {
|
|
|
return lib.ThrowError(lib.ARG_ERROR, "订单的发货单号必填")
|
...
|
...
|
|