|
|
@@ -89,7 +89,7 @@ class PurchaseController extends BaseController
|
|
|
util::fail('没有找到供货商');
|
|
|
}
|
|
|
if (isset($ghsInfo['mainId']) && !empty($ghsInfo['mainId']) && $ghsInfo['mainId'] == $ghsInfo['ownMainId']) {
|
|
|
- util::fail('这个是你自己的批发店');
|
|
|
+ util::fail('不能向自己的店买花');
|
|
|
}
|
|
|
|
|
|
$connection = Yii::$app->db;
|
|
|
@@ -190,7 +190,7 @@ class PurchaseController extends BaseController
|
|
|
$ghsShopId = $ghsInfo['shopId'] ?? 0;
|
|
|
|
|
|
if (isset($ghsInfo['mainId']) && !empty($ghsInfo['mainId']) && $ghsInfo['mainId'] == $ghsInfo['ownMainId']) {
|
|
|
- util::fail('这个是你自己的批发店');
|
|
|
+ util::fail('不能向自己的店买花');
|
|
|
}
|
|
|
|
|
|
$connection = Yii::$app->db;//事务处理
|