@@ -195,6 +195,27 @@ class Model_logic_order extends Lin_Model {
];
}
+ //usps GA和priority服务类型下可勾选签名,EXPRESS不可勾选签名。
+ // 待设置所有服务类型下的保险金额填写都要小于500美金,如果大于等于500美金弹错误提示:购买保险金额需小于500美金!
+
+ if($post['express'] == 2){
+ if($post['qm'] == 1){
+ if($post['js'] == 2){
+ return [
+ 'code'=>-1,
+ "msg"=>"EXPRESS不可勾选签名"
+ ];
+ }
+ if($post['bx'] >=500){
+ "msg"=>"购买保险金额需小于500美金!"
return [
'code'=>1,
"msg"=>"ok"