|
|
@@ -16,6 +16,7 @@ namespace app\api\controller;
|
|
|
|
|
|
use app\api\logic\UserGoodsLogic;
|
|
|
use app\common\logic\PaymentLogic;
|
|
|
+use app\common\service\ConfigService;
|
|
|
use app\api\validate\{PayValidate, ServiceValidate, UserGoodsValidate};
|
|
|
use app\api\logic\ServiceLogic;
|
|
|
use app\api\lists\service\ServiceLists;
|
|
|
@@ -29,7 +30,7 @@ use app\api\lists\service\ServiceLists;
|
|
|
class ServiceController extends BaseApiController
|
|
|
{
|
|
|
|
|
|
- public array $notNeedLogin = ['getServiceList','getAreaList','getCateList','getServiceInfo','autoUpdateStatus','getServiceContent'];
|
|
|
+ public array $notNeedLogin = ['getServiceList','getAreaList','getCateList','getServiceInfo','autoUpdateStatus','getServiceContent','getServiceDisclaimer'];
|
|
|
|
|
|
|
|
|
/**
|
|
|
@@ -169,4 +170,10 @@ class ServiceController extends BaseApiController
|
|
|
}
|
|
|
return $this->data($result);
|
|
|
}
|
|
|
+ public function getServiceDisclaimer()
|
|
|
+ {
|
|
|
+ $result = ServiceLogic::getServiceDisclaimer();
|
|
|
+ return $this->data($result);
|
|
|
+ }
|
|
|
+
|
|
|
}
|