|
|
@@ -14,7 +14,6 @@ use think\facade\Log;
|
|
|
class ServiceOrderController extends BaseApiController
|
|
|
{
|
|
|
|
|
|
- public array $notNeedLogin = ['approvalChangeAppointment'];
|
|
|
/**
|
|
|
* 订单列表
|
|
|
* @return \think\response\Json
|
|
|
@@ -242,7 +241,7 @@ class ServiceOrderController extends BaseApiController
|
|
|
public function approvalChangeAppointment()
|
|
|
{
|
|
|
$params = (new ServiceOrderValidate())->post()->goCheck('changeAppointment', [
|
|
|
- 'user_id' => 1,
|
|
|
+ 'user_id' => $this->userId,
|
|
|
'user_info' => $this->userInfo
|
|
|
]);
|
|
|
$result = ServiceOrderLogic::approvalChangeAppointment($params);
|