更新
This commit is contained in:
parent
389bf25799
commit
d1f64a7497
@ -3,9 +3,7 @@
|
||||
namespace app\api\controller;
|
||||
|
||||
|
||||
use app\api\validate\PayValidate;
|
||||
use app\common\enum\user\UserTerminalEnum;
|
||||
use app\common\logic\PaymentLogic;
|
||||
use app\common\service\pay\WeChatPayService;
|
||||
|
||||
/**
|
||||
@ -16,31 +14,7 @@ use app\common\service\pay\WeChatPayService;
|
||||
class PayController extends BaseApiController
|
||||
{
|
||||
|
||||
public array $notNeedLogin = ['notifyMnp',];
|
||||
|
||||
/**
|
||||
* @notes 预支付
|
||||
* @return \think\response\Json
|
||||
* @author 段誉
|
||||
* @date 2023/2/28 14:21
|
||||
*/
|
||||
// public function prepay()
|
||||
// {
|
||||
// $params = (new PayValidate())->post()->goCheck();
|
||||
// //订单信息
|
||||
// $order = PaymentLogic::getPayOrderInfo($params);
|
||||
// if (false === $order) {
|
||||
// return $this->fail(PaymentLogic::getError(), $params);
|
||||
// }
|
||||
// //支付流程
|
||||
// $redirectUrl = $params['redirect'] ?? '/pages/payment/payment';
|
||||
// $result = PaymentLogic::pay($params['pay_way'], $params['from'], $order, $this->userInfo['terminal'], $redirectUrl);
|
||||
// if (false === $result) {
|
||||
// return $this->fail(PaymentLogic::getError(), $params);
|
||||
// }
|
||||
// return $this->success('', $result);
|
||||
// }
|
||||
|
||||
public $notNeedLogin = ['notifyMnp','aa'];
|
||||
|
||||
/**
|
||||
* @notes 小程序支付回调
|
||||
|
Loading…
x
Reference in New Issue
Block a user