|
@@ -191,7 +191,7 @@ class PurchaseController extends BaseController
|
|
|
$ghsShopId = $ghsInfo['shopId'] ?? 0;
|
|
$ghsShopId = $ghsInfo['shopId'] ?? 0;
|
|
|
|
|
|
|
|
if (isset($ghsInfo['mainId']) && !empty($ghsInfo['mainId']) && $ghsInfo['mainId'] == $ghsInfo['ownMainId']) {
|
|
if (isset($ghsInfo['mainId']) && !empty($ghsInfo['mainId']) && $ghsInfo['mainId'] == $ghsInfo['ownMainId']) {
|
|
|
-
|
|
|
|
|
|
|
+ util::fail('不能跟自己的店买花');
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
$connection = Yii::$app->db;//事务处理
|
|
$connection = Yii::$app->db;//事务处理
|