@@ -31,6 +31,12 @@ class RefundController extends BaseController
//退款 linqh 2021.6.25
public function actionCreateOrder()
{
+
+ $shopAdmin = $this->shopAdmin;
+ if (isset($shopAdmin['super']) == false || $shopAdmin['super'] != 1) {
+ util::fail('超管才能操作退款');
+ }
$post = Yii::$app->request->post();
$id = isset($post['id']) ? $post['id'] : 0;
$order = OrderService::getOrderInfo($id, false, false, false, false);