| xqd
@@ -9,6 +9,7 @@ use App\Exceptions\AuthException;
|
|
|
use App\Exceptions\VipException;
|
|
|
use App\Http\Params\UserCommentParam;
|
|
|
use App\Http\Params\UserLikeParam;
|
|
|
+use App\Models\SystemConfig;
|
|
|
use App\Models\UserPhotoDestroy;
|
|
|
use App\Services\DynamicService;
|
|
|
use App\Services\HomeService;
|
| xqd
@@ -55,6 +56,11 @@ class HomeController extends Controller
|
|
|
return response()->json(['message'=>"请求成功"]);
|
|
|
}
|
|
|
|
|
|
+ public function get_fx(){
|
|
|
+ $res = SystemConfig::query()->where('id',2)->value("value");
|
|
|
+ return response()->json(['data'=>$res]);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 返回首页信息
|
|
|
* @param Request $request
|