去掉支付回调同步锁
This commit is contained in:
		
							parent
							
								
									a5f8f72080
								
							
						
					
					
						commit
						5b1fabff20
					
				@ -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);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
@ -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');
 | 
				
			||||||
 | 
				
			|||||||
@ -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');
 | 
				
			||||||
 | 
				
			|||||||
@ -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');
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user