去掉支付回调同步锁

This commit is contained in:
qinzexin 2025-05-30 10:26:44 +08:00
parent a5f8f72080
commit 5b1fabff20
4 changed files with 9 additions and 4 deletions

View File

@ -371,7 +371,7 @@ class NewActivity extends Base
}catch (\Throwable $e){ }catch (\Throwable $e){
$this->error($e->getMessage()); $this->error($e->getMessage());
} }
$this->success('预约课时取消成功', $res); $this->success('活动取消成功', $res);
} }
} }

View File

@ -28,7 +28,7 @@ class Pay extends Base
$this->model = new OrderModel; $this->model = new OrderModel;
parent::_initialize(); parent::_initialize();
$this->setUrlLock();
//判断登录用户是否是员工 //判断登录用户是否是员工
} }
@ -48,6 +48,8 @@ class Pay extends Base
*/ */
public function payment() public function payment()
{ {
$this->setUrlLock();
$order_no = $this->request->post('order_no/s'); $order_no = $this->request->post('order_no/s');
$type = $this->request->post('type/s'); $type = $this->request->post('type/s');
$method = $this->request->post('platform/s'); $method = $this->request->post('platform/s');

View File

@ -29,7 +29,7 @@ class Pay extends Base
$this->model = new OrderModel; $this->model = new OrderModel;
parent::_initialize(); parent::_initialize();
$this->setUrlLock();
//判断登录用户是否是员工 //判断登录用户是否是员工
} }
@ -48,6 +48,7 @@ class Pay extends Base
*/ */
public function payment() public function payment()
{ {
$this->setUrlLock();
$order_no = $this->request->post('order_no/s'); $order_no = $this->request->post('order_no/s');
$type = $this->request->post('type/s'); $type = $this->request->post('type/s');
$method = $this->request->post('platform/s'); $method = $this->request->post('platform/s');

View File

@ -30,7 +30,7 @@ class Pay extends Base
$this->model = new OrderModel; $this->model = new OrderModel;
parent::_initialize(); parent::_initialize();
$this->setUrlLock();
//判断登录用户是否是员工 //判断登录用户是否是员工
} }
@ -49,6 +49,8 @@ class Pay extends Base
*/ */
public function payment() public function payment()
{ {
$this->setUrlLock();
$order_no = $this->request->post('order_no/s'); $order_no = $this->request->post('order_no/s');
$type = $this->request->post('type/s'); $type = $this->request->post('type/s');
$method = $this->request->post('platform/s'); $method = $this->request->post('platform/s');