depositPackage($this->coachUserId); return $this->success('',$result); } /** * @notes 提交订单 * @return \think\response\Json * @author cjhao * @date 2024/8/27 18:37 */ public function sumbitOrder() { $params = $this->request->post(); $result = (new DepositLogic())->sumbitOrder($params,$this->coachId); if(false === $result){ return $this->fail(DepositLogic::getError()); } return $this->success('',$result); } }