|
| xqd
@@ -10,6 +10,7 @@ use App\Http\Params\DynamicParam;
|
|
|
use App\Http\Params\DynamicZanParam;
|
|
|
use App\Http\Params\UserReportParam;
|
|
|
use App\Models\Banner;
|
|
|
+use App\Models\SystemConfig;
|
|
|
use App\Services\DynamicService;
|
|
|
use Illuminate\Http\Request;
|
|
|
use Illuminate\Support\Facades\Cache;
|
|
| xqd
@@ -95,7 +96,7 @@ class DynamicController extends Controller
|
|
|
}
|
|
|
$res['banner'] = $banner;
|
|
|
$res['tag'] = DB::table("dynamic_tag")->orderBy('hot','desc')->limit(10)->get();
|
|
|
- $res['fx'] = "这是风险提示";
|
|
|
+ $res['fx'] = SystemConfig::query()->where('id',1)->value("value");
|
|
|
}catch (\Exception $exception){
|
|
|
return $this->response->errorForbidden($exception->getMessage());
|
|
|
}
|