|
|
@@ -55,7 +55,7 @@ class OrderController extends BaseController
|
|
|
$connection = Yii::$app->db;
|
|
|
$transaction = $connection->beginTransaction();
|
|
|
try {
|
|
|
- $all = OrderClass::getAllByCondition(['id' => ['in', $ids]], null, '*', null, true);
|
|
|
+ $all = OrderClass::getAllByCondition(['id' => ['in', $arr]], null, '*', null, true);
|
|
|
foreach ($all as $order) {
|
|
|
if ($order->mainId != $this->mainId) {
|
|
|
util::fail('不是你的订单哦');
|