diff --git a/storage/view/news/index.blade.php b/storage/view/news/index.blade.php index 6e64f8a..8b56b43 100755 --- a/storage/view/news/index.blade.php +++ b/storage/view/news/index.blade.php @@ -1,6 +1,6 @@ where('is_delete', 0)->get()->groupBy('id')->toArray()); + return json_encode(\App\Model\AppWebsiteConfig::query()->select(['app_domain', 'id'])->where('is_delete', 0)->get()->groupBy('id')->toArray()); }); ?> @@ -131,7 +131,6 @@ $platforms = call_user_func(function () { field: "title", templet: function(d){ let domain = platform[d.platform][0]['app_domain'] - console.log(domain) return `` + d.title + ''; }, }, {