From 4d068382ac0d86786e0d2ead571fdabbf02bfc04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E6=9C=A8?= <594326199@qq.com> Date: Mon, 21 Sep 2026 16:18:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E4=BA=AC=E5=96=9C=E8=BF=9D?= =?UTF-8?q?=E8=A7=84=E9=A2=84=E8=AD=A6=E9=A1=B5=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../financial-risk-control/index.blade.php | 1 + tests/Feature/Settings/NavigationTest.php | 17 +++++++---------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/resources/views/business/pages/financial-risk-control/index.blade.php b/resources/views/business/pages/financial-risk-control/index.blade.php index 8d991d36..098e89f1 100644 --- a/resources/views/business/pages/financial-risk-control/index.blade.php +++ b/resources/views/business/pages/financial-risk-control/index.blade.php @@ -3,6 +3,7 @@ 'taobao' => ['label' => '淘系', 'icon' => 'shopping_bag', 'description' => '集中查看淘宝、天猫店铺的违规和处罚风险。'], 'alibaba' => ['label' => '阿里巴巴', 'icon' => 'inventory_2', 'description' => '集中查看阿里巴巴店铺的违规和处罚风险。'], 'jd' => ['label' => '京东', 'icon' => 'local_mall', 'description' => '集中查看京东店铺的违规和处罚风险。'], + 'jingxi' => ['label' => '京喜', 'icon' => 'storefront', 'description' => '集中查看京喜店铺的违规和处罚风险。'], 'pinduoduo' => ['label' => '拼多多', 'icon' => 'grid_view', 'description' => '集中查看拼多多店铺的违规和处罚风险。'], 'douyin' => ['label' => '抖音', 'icon' => 'play_circle', 'description' => '集中查看抖音店铺的违规和处罚风险。'], ]; diff --git a/tests/Feature/Settings/NavigationTest.php b/tests/Feature/Settings/NavigationTest.php index 7ede3a61..d6a42e4e 100644 --- a/tests/Feature/Settings/NavigationTest.php +++ b/tests/Feature/Settings/NavigationTest.php @@ -68,19 +68,16 @@ class NavigationTest extends FeatureTestCase $this->get(route('business.pages.show', [ 'section' => 'financial-risk-control', 'page' => 'store-violation-alert', - ]) . '?platform=jd') + ]) . '?platform=jingxi') ->assertOk() ->assertSeeText('财务经营风险管控') ->assertSeeText('店铺违规信息预警') - ->assertSeeText('淘系') - ->assertSeeText('阿里巴巴') - ->assertSeeText('京东') - ->assertSeeText('拼多多') - ->assertSeeText('抖音') - ->assertSeeText('京东店铺违规信息预警') - ->assertSee('data-active-platform="jd"', false) - ->assertSee('id="financial-risk-control-panel-jd"', false) - ->assertSee('data-platform-tab="jd"', false) + ->assertSeeTextInOrder(['淘系', '阿里巴巴', '京东', '京喜', '拼多多', '抖音']) + ->assertSeeText('京喜店铺违规信息预警') + ->assertSeeText('暂无京喜风险事项') + ->assertSee('data-active-platform="jingxi"', false) + ->assertSee('id="financial-risk-control-panel-jingxi"', false) + ->assertSee('data-platform-tab="jingxi"', false) ->assertSee('/workspace/financial-risk-control/store-violation-alert', false); }