|
|
@@ -276,11 +276,11 @@ class PurchaseController extends BaseController
|
|
|
if ($debtAmount > $debtLimit && $debtLimit > 0) {
|
|
|
if (getenv('YII_ENV') == 'production') {
|
|
|
//福清辉煌鲜花
|
|
|
- $myMainId = 45984;
|
|
|
+ $myMainId = [45984, 50];
|
|
|
} else {
|
|
|
- $myMainId = 644;
|
|
|
+ $myMainId = [644];
|
|
|
}
|
|
|
- if ($ghsInfo['mainId'] == $myMainId) {
|
|
|
+ if (in_array($ghsInfo['mainId'], $myMainId)) {
|
|
|
util::fail('请先结清欠款再下单');
|
|
|
}
|
|
|
}
|