|
|
@@ -74,19 +74,19 @@ class SupplyDemandController extends BaseAdminController
|
|
|
|
|
|
|
|
|
/**
|
|
|
- * @notes 更改服务商状态
|
|
|
+ * @notes 更改供需状态
|
|
|
* @return \think\response\Json
|
|
|
* @author heshihu
|
|
|
* @date 2022/2/21 10:15
|
|
|
*/
|
|
|
public function updateStatus()
|
|
|
{
|
|
|
- $params = (new UserServiceValidate())->post()->goCheck('status');
|
|
|
- $result = UserServiceLogic::updateStatus($params);
|
|
|
+ $params = (new SupplyDemandValidate())->post()->goCheck('status');
|
|
|
+ $result = SupplyDemandLogic::updateStatus($params);
|
|
|
if (true === $result) {
|
|
|
return $this->success('修改成功', [], 1, 1);
|
|
|
}
|
|
|
- return $this->fail(UserServiceLogic::getError());
|
|
|
+ return $this->fail(SupplyDemandLogic::getError());
|
|
|
}
|
|
|
|
|
|
|