...
|
...
|
@@ -222,7 +222,7 @@ func (postData postOrderGood) Valid() error { |
|
|
if lenProductName == 0 {
|
|
|
return lib.ThrowError(lib.ARG_ERROR, "商品名称必填")
|
|
|
}
|
|
|
if lenProductName >= 50 {
|
|
|
if lenProductName > 50 {
|
|
|
return lib.ThrowError(lib.ARG_ERROR, "商品名称最多50位")
|
|
|
}
|
|
|
if postData.OrderNum >= 1e16 {
|
...
|
...
|
|