|
|
@@ -110,6 +110,14 @@ class OrderClearController extends BaseController
|
|
|
if ($ghs->shopId != $this->shopId) {
|
|
|
util::fail('没有权限');
|
|
|
}
|
|
|
+
|
|
|
+ //花样年华只有总控才能结账
|
|
|
+ if (in_array($this->shopId, [1585, 1596])) {
|
|
|
+ if ($this->adminId != 2876) {
|
|
|
+ util::fail('暂无权限');
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
$connection = Yii::$app->db;
|
|
|
$transaction = $connection->beginTransaction();
|
|
|
try {
|