|
|
@@ -19,10 +19,11 @@ use app\api\validate\PayValidate;
|
|
|
use app\common\enum\PayEnum;
|
|
|
use app\common\enum\user\UserTerminalEnum;
|
|
|
use app\common\logic\PaymentLogic;
|
|
|
+use app\common\model\master_worker\MasterWorker;
|
|
|
use app\common\service\pay\AliPayService;
|
|
|
use app\common\service\pay\WeChatPayService;
|
|
|
use think\facade\Log;
|
|
|
-
|
|
|
+use app\adminapi\logic\master_worker\MasterWorkerLogic;
|
|
|
/**
|
|
|
* 支付
|
|
|
* Class PayController
|
|
|
@@ -31,7 +32,7 @@ use think\facade\Log;
|
|
|
class PayController extends BaseApiController
|
|
|
{
|
|
|
|
|
|
- public array $notNeedLogin = ['notifyMnp', 'notifyOa', 'aliNotify'];
|
|
|
+ public array $notNeedLogin = ['notifyMnp', 'notifyOa', 'aliNotify','retentionMoneyOrder'];
|
|
|
|
|
|
/**
|
|
|
* @notes 支付方式
|
|
|
@@ -161,7 +162,16 @@ class PayController extends BaseApiController
|
|
|
$result['sn'] = $order['sn'];
|
|
|
return $this->success('', $result);
|
|
|
}
|
|
|
-
|
|
|
+ /**
|
|
|
+ * @notes 质保金缴费订单
|
|
|
+ * @return \think\response\Json
|
|
|
+ */
|
|
|
+ public function retentionMoneyOrder()
|
|
|
+ {
|
|
|
+ $order_id = $this->request->get('order_id');
|
|
|
+ $result = MasterWorkerLogic::retentionMoneyOrderDetail($order_id);
|
|
|
+ return $this->success('', $result);
|
|
|
+ }
|
|
|
|
|
|
|
|
|
}
|