|
|
@@ -11,6 +11,7 @@
|
|
11
|
11
|
namespace app\controller\api\store\order;
|
|
12
|
12
|
|
|
13
|
13
|
|
|
|
14
|
+use app\common\enum\CommonEnum;
|
|
14
|
15
|
use crmeb\basic\BaseController;
|
|
15
|
16
|
use app\common\repositories\store\order\StoreOrderProductRepository;
|
|
16
|
17
|
use app\common\repositories\store\order\StoreOrderRepository;
|
|
|
@@ -137,6 +138,9 @@ class StoreRefundOrder extends BaseController
|
|
137
|
138
|
|
|
138
|
139
|
$uid = $this->request->uid();
|
|
139
|
140
|
$order = $orderRepository->userOrder($id, $uid);
|
|
|
141
|
+ if ($order['mer_id'] == CommonEnum::DESIGN_MERCHANT_ID['SharedProsperity']['code']) {
|
|
|
142
|
+ return app('json')->fail('共富区暂不支持退款');
|
|
|
143
|
+ }
|
|
140
|
144
|
$store_order_product = Db::name('store_order_product')->where('order_id',$order['order_id'])->find();
|
|
141
|
145
|
// 8会员300 10高级会员3000 14合伙人商品10000 15股权商品10000 16合伙人+股权商品2000
|
|
142
|
146
|
if(in_array($store_order_product['type'],[8,9,10,11,12,13,14,15,16]))
|