|
|
@@ -258,6 +258,17 @@ class Model_logic_order extends Lin_Model {
|
|
|
}
|
|
|
|
|
|
}
|
|
|
+
|
|
|
+ //惠程-联邦-9610 只允许加拿大使用
|
|
|
+ if($post['express'] == 50){
|
|
|
+ if($post['country'] != 35){
|
|
|
+ return [
|
|
|
+ 'code'=>-1,
|
|
|
+ "msg"=>'该快递仅支持“加拿大”发货!'
|
|
|
+ ];
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
//惠程英国(ges)
|
|
|
if($post['express'] == 88){
|
|
|
if(!empty($post['address2'])){
|
|
|
@@ -506,6 +517,15 @@ class Model_logic_order extends Lin_Model {
|
|
|
}
|
|
|
|
|
|
}
|
|
|
+ //惠程-联邦-9610 只允许加拿大使用
|
|
|
+ if($post['express'] == 50){
|
|
|
+ if($post['country'] != 35){
|
|
|
+ return [
|
|
|
+ 'code'=>-1,
|
|
|
+ "msg"=>'该快递仅支持“加拿大”发货!'
|
|
|
+ ];
|
|
|
+ }
|
|
|
+ }
|
|
|
//惠程英国(ges)
|
|
|
if($post['express'] == 88){
|
|
|
if(!empty($post['address2'])){
|