|
|
@@ -29,7 +29,7 @@ use app\api\lists\service\ServiceLists;
|
|
|
class ServiceController extends BaseApiController
|
|
|
{
|
|
|
|
|
|
- public array $notNeedLogin = ['getServiceList','getAreaList','getCateList','getServiceInfo','autoUpdateStatus'];
|
|
|
+ public array $notNeedLogin = ['getServiceList','getAreaList','getCateList','getServiceInfo','autoUpdateStatus','getServiceContent'];
|
|
|
|
|
|
|
|
|
/**
|
|
|
@@ -150,4 +150,14 @@ class ServiceController extends BaseApiController
|
|
|
$result = ServiceLogic::updateServiceStatus();
|
|
|
return $this->success($result, [], 1, 1);
|
|
|
}
|
|
|
+
|
|
|
+ public function getServiceContent()
|
|
|
+ {
|
|
|
+
|
|
|
+ $result = ServiceLogic::getServiceContentInfo();
|
|
|
+ if ($result === false) {
|
|
|
+ return $this->fail(PaymentLogic::getError());
|
|
|
+ }
|
|
|
+ return $this->data($result);
|
|
|
+ }
|
|
|
}
|