...
|
...
|
@@ -194,7 +194,7 @@ func (postData postPurposeOrderDetail) Valid() error { |
|
|
if len(postData.OrderDist) == 0 {
|
|
|
return lib.ThrowError(lib.ARG_ERROR, "订单区域必填")
|
|
|
}
|
|
|
if len(postData.Product) > 0 {
|
|
|
if len(postData.Product) == 0 {
|
|
|
return lib.ThrowError(lib.ARG_ERROR, "货品列表必填")
|
|
|
}
|
|
|
if len(postData.Product) > 50 {
|
...
|
...
|
|