From 4ec00f60f487366b9fa3a4917d76321772065037 Mon Sep 17 00:00:00 2001 From: weizong song Date: Sat, 6 Jun 2026 00:20:01 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E7=A7=BB=E6=A4=8D=E5=88=B0la?= =?UTF-8?q?ravel=E5=86=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Api/PublicCompetitionController.php | 26 - public/index.html | 2 +- resources/views/welcome.blade.php | 2346 ++++++++++++++++- routes/api.php | 1 - routes/web.php | 21 +- tests/Feature/ExampleTest.php | 5 +- 6 files changed, 2269 insertions(+), 132 deletions(-) diff --git a/app/Http/Controllers/Api/PublicCompetitionController.php b/app/Http/Controllers/Api/PublicCompetitionController.php index 9d87aa7..25ec157 100644 --- a/app/Http/Controllers/Api/PublicCompetitionController.php +++ b/app/Http/Controllers/Api/PublicCompetitionController.php @@ -5,35 +5,9 @@ namespace App\Http\Controllers\Api; use App\Http\Controllers\Controller; use App\Models\Competition; use Illuminate\Http\JsonResponse; -use Illuminate\Support\Facades\Schema; class PublicCompetitionController extends Controller { - public function active(): JsonResponse - { - $query = Competition::query(); - if (Schema::hasColumn('competitions', 'published')) { - $query->where('published', true); - } - if (Schema::hasColumn('competitions', 'status')) { - $query->whereIn('status', ['published', 'signup_open']); - } - if (Schema::hasColumn('competitions', 'signup_open_at')) { - $query->orderByDesc('signup_open_at'); - } - - $competition = $query->orderByDesc('id')->firstOrFail(); - - return response()->json([ - 'id' => $competition->id, - 'slug' => $competition->slug, - 'name' => $competition->name, - 'status' => $competition->status, - 'signup_open_at' => $competition->signup_open_at?->toIso8601String(), - 'signup_close_at' => $competition->signup_close_at?->toIso8601String(), - ]); - } - public function showBySlug(string $slug): JsonResponse { $competition = Competition::query() diff --git a/public/index.html b/public/index.html index bcbe174..65aed02 100644 --- a/public/index.html +++ b/public/index.html @@ -2107,7 +2107,7 @@ 主题赛道 - + 报名参赛 diff --git a/resources/views/welcome.blade.php b/resources/views/welcome.blade.php index 04497b0..65aed02 100644 --- a/resources/views/welcome.blade.php +++ b/resources/views/welcome.blade.php @@ -1,91 +1,2271 @@ - + - - - 2026 江苏省新消费创新创业大赛 - + + + 2026江苏省新消费创新创业大赛 + -
-

欢迎访问 2026 江苏省新消费创新创业大赛报名系统

+
+ + +
+
+
+ +
+ +

+ 江苏省新消费 + 创新创业大赛 +

+
+

主办单位:江苏省商务厅、共青团江苏省委

+

支持单位:省委人才办、省委宣传部、省教育厅、省科技厅、省工业和信息化厅、省民政厅、省财政厅、省人力资源社会保障厅、省农业农村厅、省文化和旅游厅、省卫生健康委、省市场监管局、省体育局、江苏广电总台

+

承办单位:元禾控股

+

官方指定宣传平台:江苏广电总台

+

首席战略合作银行:江苏银行

+

战略合作单位:抖音电商、抖音生活服务等

+
+
+
+ +
+ +
+
+
+
+
ENTRY
+

参赛对象

+
+

大赛面向国内外新消费领域创业企业、创新团队开放报名,大赛设两个组别:

+
+
+ 1 +
+
创新组
+

面向尚未注册成立企业、处于商业计划书或创意方案阶段的项目团队。参赛项目应具有明确的产品、技术或服务方向,具备创新性和商业化潜力。

+
+
+
+ 2 +
+
创业组
+

面向注册成立不超过5年的企业(工商注册日期在2021年5月1日(含)之后注册)。参赛项目应已开展实际运营,具备成熟的商业模式或特色产品服务,拥有市场验证基础。

+
+
+
+
+
+
+ +
+
+
+
+
TRACKS
+

主题赛道

+
+
+
+ 01 +
+
特色消费
+

聚焦个性化、体验式、场景融合化(多元化)项目,包括但不限于:宠物经济(宠物智能用品、宠物食品科技、宠物医疗、宠物社区平台)、新国货与悦己消费(国潮美妆/香氛、新中式服饰、潮玩手办/谷子经济)、地标产品与老字号创新(老字号数字化赋能、特色农产品品牌化、非遗文创产品)、汽车后市场服务(汽车改装项目、汽车露营)、银发消费(适老化用品、老年文娱教育、养老产品与服务技术创新)等

+
+
+
+ 02 +
+
健康消费
+

聚焦医疗健康与消费融合项目,包括但不限于:医疗美容(轻医美等非手术类医疗美容产品与服务)、减重与健康管理(体重管理的新产品、家用健康监测设备、可穿戴健康硬件、助眠科技产品、数字疗法)、运动与康复(水上运动、运动生活方式品牌、运动医学诊所、产后康复及母婴护理)、科技与中医药(中医药智能设备研发与科技创新,药食同源与中医药大健康产品研发,中医药文创,中医养生等)、心理健康服务产业(情绪疏导、心理科普、数字化心理干预产品)等。

+
+
+
+ 03 +
+
商文旅农融合
+

聚焦文化、商业、旅游、农业深度融合项目,包括但不限于:文旅IP创新(原创IP设计、文化IP活化、全球化IP输出、光影秀、沉浸式演艺、AR导览)、商业空间与首发经济(首店/首展/首秀策划、快闪店运营、夜间经济/市集经济)、特色民宿与乡村旅游、文化创意空间、数字文娱、网络视听等。

+
+
+
+ 04 +
+
消费+人工智能
+

聚焦人工智能赋能消费提质项目,包括但不限于:智能消费硬件(智能家居系统、AI眼镜/AR-VR设备、可穿戴智能设备、服务机器人)、数字消费(直播电商平台、AI数字人、本地生活数字化、元宇宙零售)、AI内容创作(AIGC创作工具、数字文化社区、虚拟偶像)等。

+
+
+
+
+
+
+ +
+
+
+
+
GUIDE
+

参赛指南

+
+ +
+
+ 1 +

参赛报名

+

2026年6月-7月

+
+
+ 2 +

线上初赛

+

2026年8月

+
+
+ 3 +

线下复赛

+

2026年8月至9月

+
+ 苏州 + 徐州 + 镇江 + 南京 +
+
+
+ 4 +

总决赛

+

2026年10月

+
+
+ +
+
+

一等奖 1名

+ 10万元 +

现金奖励 + 最高500万股权投资支持

+
+
+

二等奖 4名

+ 5万元 +

现金奖励 + 最高500万股权投资支持

+
+
+

三等奖 15名

+ 2万元 +

现金奖励 + 最高500万股权投资支持

+
+
+ +
+
参赛项目应符合新消费产业发展政策导向,具有明确的市场需求和商业化前景,且不存在知识产权纠纷。
+
创业组参赛企业设立时间需不超过5年。
+
+
+
+
-
+ diff --git a/routes/api.php b/routes/api.php index 1595c45..a6476ff 100644 --- a/routes/api.php +++ b/routes/api.php @@ -19,7 +19,6 @@ use App\Http\Controllers\Api\UserProfileController; use Illuminate\Support\Facades\Route; Route::prefix('v1')->group(function () { - Route::get('public/competitions/active', [PublicCompetitionController::class, 'active']); Route::get('public/competitions/by-slug/{slug}', [PublicCompetitionController::class, 'showBySlug']); Route::prefix('review')->group(function () { diff --git a/routes/web.php b/routes/web.php index af508bd..b0f151e 100644 --- a/routes/web.php +++ b/routes/web.php @@ -2,10 +2,8 @@ use App\Http\Controllers\Api\ApplicationFileController; use App\Http\Controllers\ChannelEntryController; -use App\Models\Competition; use Illuminate\Support\Facades\File; use Illuminate\Support\Facades\Route; -use Illuminate\Support\Facades\Schema; /* |-------------------------------------------------------------------------- @@ -19,24 +17,7 @@ use Illuminate\Support\Facades\Schema; */ Route::get('/', function () { - $query = Competition::query(); - if (Schema::hasColumn('competitions', 'published')) { - $query->where('published', true); - } - if (Schema::hasColumn('competitions', 'status')) { - $query->whereIn('status', ['published', 'signup_open']); - } - if (Schema::hasColumn('competitions', 'signup_open_at')) { - $query->orderByDesc('signup_open_at'); - } - - $competition = $query->orderByDesc('id')->first(); - - if ($competition === null) { - return redirect('/admin/'); - } - - return redirect('/admin/c/'.rawurlencode($competition->slug).'/login'); + return view('welcome'); }); Route::get('/channel-entry', ChannelEntryController::class)->name('channel.entry'); diff --git a/tests/Feature/ExampleTest.php b/tests/Feature/ExampleTest.php index 8364a84..70886dd 100644 --- a/tests/Feature/ExampleTest.php +++ b/tests/Feature/ExampleTest.php @@ -14,6 +14,9 @@ class ExampleTest extends TestCase { $response = $this->get('/'); - $response->assertStatus(200); + $response + ->assertOk() + ->assertSee('2026江苏省新消费创新创业大赛') + ->assertSee('href="admin/c/xxf/login"', false); } }