|
@@ -40,6 +40,18 @@ class ServiceOrderController extends BaseApiController
|
|
|
return $this->data($result);
|
|
return $this->data($result);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ public function getDetailStatus()
|
|
|
|
|
+ {
|
|
|
|
|
+ $params = (new ServiceOrderValidate())->goCheck('detail',[
|
|
|
|
|
+ 'user_id' => $this->userId,
|
|
|
|
|
+ ]);
|
|
|
|
|
+ $result = ServiceOrderLogic::getDetailStatus($params);
|
|
|
|
|
+ if (false === $result) {
|
|
|
|
|
+ return $this->fail(ServiceOrderLogic::getError());
|
|
|
|
|
+ }
|
|
|
|
|
+ return $this->data($result);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* 订单支付详情
|
|
* 订单支付详情
|
|
|
* @return \think\response\Json
|
|
* @return \think\response\Json
|