@@ -1,4 +1,4 @@
|
||||
APP_NAME="云享电商SAAS系统"
|
||||
APP_NAME=Laravel
|
||||
APP_ENV=local
|
||||
APP_KEY=
|
||||
APP_DEBUG=true
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>总台管理登录 - {{ config('app.name', '云享电商SAAS系统') }}</title>
|
||||
<title>总台管理登录 - SaaSShop</title>
|
||||
<link rel="stylesheet" href="/css/admin-base.css">
|
||||
<link rel="stylesheet" href="/css/admin.css">
|
||||
</head>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>@yield('title', config('app.name', '云享电商SAAS系统') . ' 总台管理')</title>
|
||||
<title>@yield('title', 'SaaSShop 总台管理')</title>
|
||||
<link rel="stylesheet" href="/css/admin-base.css">
|
||||
<link rel="stylesheet" href="/css/admin.css">
|
||||
<link rel="stylesheet" href="/css/admin-components.css">
|
||||
@@ -11,7 +11,7 @@
|
||||
<body>
|
||||
<div class="layout">
|
||||
<aside class="sidebar">
|
||||
<h2 class="sidebar-title">{{ config('app.name', '云享电商SAAS系统') }}</h2>
|
||||
<h2 class="sidebar-title">SaaSShop</h2>
|
||||
<div class="muted">总台管理 / Platform Ops</div>
|
||||
|
||||
<div class="group-title">总览</div>
|
||||
|
||||
@@ -260,7 +260,6 @@
|
||||
$hasReconcileMismatchFilter = (($filters['reconcile_mismatch'] ?? '') === '1');
|
||||
$hasRefundInconsistentFilter = (($filters['refund_inconsistent'] ?? '') === '1');
|
||||
$hasSyncableOnlyFilter = (($filters['syncable_only'] ?? '') === '1');
|
||||
$hasSyncFailedFilter = (($filters['sync_status'] ?? '') === 'failed') || trim((string) ($filters['sync_error_keyword'] ?? '')) !== '' || (($filters['fail_only'] ?? '') === '1');
|
||||
@endphp
|
||||
|
||||
@if($hasReconcileMismatchFilter || $hasRefundInconsistentFilter)
|
||||
@@ -286,13 +285,6 @@
|
||||
@endif
|
||||
@endif
|
||||
|
||||
@if($hasSyncFailedFilter)
|
||||
<div class="muted text-danger mb-10">
|
||||
提示:当前筛选包含「同步失败/失败原因」范围。建议先治理失败原因(修复数据或重试同步),再执行批量同步订阅等工具动作。
|
||||
<a class="link" href="{{ request()->fullUrlWithQuery(['sync_status' => 'failed', 'page' => null]) }}">进入同步失败集合</a>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<form method="get" action="/admin/platform-orders/export" class="mb-10">
|
||||
<input type="hidden" name="status" value="{{ $filters['status'] ?? '' }}">
|
||||
<input type="hidden" name="payment_status" value="{{ $filters['payment_status'] ?? '' }}">
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
<title>H5 商城首页 - {{ config('app.name', '云享电商SAAS系统') }}</title>
|
||||
<title>H5 商城首页 - SaaSShop</title>
|
||||
<link rel="stylesheet" href="/css/public-pages.css">
|
||||
</head>
|
||||
<body class="h5-body">
|
||||
<div class="h5-header">{{ config('app.name', '云享电商SAAS系统') }} H5 商城首页</div>
|
||||
<div class="h5-header">SaaSShop H5 商城首页</div>
|
||||
<div class="h5-wrap">
|
||||
<p>这是 H5 端模板入口,后续可扩展底部导航、个人中心、下单与支付流程。</p>
|
||||
<p><a href="/">返回项目首页</a></p>
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>PC 商城首页 - {{ config('app.name', '云享电商SAAS系统') }}</title>
|
||||
<title>PC 商城首页 - SaaSShop</title>
|
||||
<link rel="stylesheet" href="/css/public-pages.css">
|
||||
</head>
|
||||
<body class="pc-body">
|
||||
<div class="pc-top"><strong>{{ config('app.name', '云享电商SAAS系统') }} PC 端商城首页</strong></div>
|
||||
<div class="pc-top"><strong>SaaSShop PC 端商城首页</strong></div>
|
||||
<div class="pc-wrap">
|
||||
<p>这是 PC 端模板入口,后续可扩展导航、分类、搜索、购物车与会员中心。</p>
|
||||
<p><a href="/">返回项目首页</a></p>
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{ config('app.name', '云享电商SAAS系统') }} 首页</title>
|
||||
<title>SaaSShop 首页</title>
|
||||
<link rel="stylesheet" href="/css/public-pages.css">
|
||||
</head>
|
||||
<body class="dark-page">
|
||||
<div class="public-wrap">
|
||||
<h1>{{ config('app.name', '云享电商SAAS系统') }} 多端项目首页</h1>
|
||||
<h1>SaaSShop 多端项目首页</h1>
|
||||
<p class="muted">当前基础框架已按多端方向铺开:PC、H5 可直接访问,微信生态与 APP 接口层已预留入口;后台当前已形成总台管理、站点后台、商家后台三层入口骨架。</p>
|
||||
<div class="grid-3">
|
||||
<div class="card"><h3>商家数</h3><p>{{ $merchantCount }}</p></div>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>商家后台登录 - {{ config('app.name', '云享电商SAAS系统') }}</title>
|
||||
<title>商家后台登录 - SaaSShop</title>
|
||||
<link rel="stylesheet" href="/css/admin-base.css">
|
||||
<link rel="stylesheet" href="/css/merchant-admin.css">
|
||||
</head>
|
||||
|
||||
@@ -3,14 +3,14 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>@yield('title', config('app.name', '云享电商SAAS系统') . ' 商家后台')</title>
|
||||
<title>@yield('title', 'SaaSShop 商家后台')</title>
|
||||
<link rel="stylesheet" href="/css/admin-base.css">
|
||||
<link rel="stylesheet" href="/css/merchant-admin.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="layout">
|
||||
<aside class="sidebar">
|
||||
<h2 class="sidebar-title">{{ config('app.name', '云享电商SAAS系统') }}</h2>
|
||||
<h2 class="sidebar-title">SaaSShop</h2>
|
||||
<div class="muted">商家后台 / Merchant Console</div>
|
||||
|
||||
<div class="group-title">总览</div>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>站点后台登录 - {{ config('app.name', '云享电商SAAS系统') }}</title>
|
||||
<title>站点后台登录 - SaaSShop</title>
|
||||
<link rel="stylesheet" href="/css/admin-base.css">
|
||||
<link rel="stylesheet" href="/css/site-admin.css">
|
||||
</head>
|
||||
|
||||
@@ -3,14 +3,14 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>@yield('title', config('app.name', '云享电商SAAS系统') . ' 站点后台')</title>
|
||||
<title>@yield('title', 'SaaSShop 站点后台')</title>
|
||||
<link rel="stylesheet" href="/css/admin-base.css">
|
||||
<link rel="stylesheet" href="/css/site-admin.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="layout">
|
||||
<aside class="sidebar">
|
||||
<h2 class="sidebar-brand">{{ config('app.name', '云享电商SAAS系统') }}</h2>
|
||||
<h2 class="sidebar-brand">SaaSShop</h2>
|
||||
<div class="muted">站点后台 / Site Console</div>
|
||||
|
||||
<div class="group-title">总览</div>
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{ config('app.name', '云享电商SAAS系统') }}</title>
|
||||
<title>{{ config('app.name', 'SaaSShop') }}</title>
|
||||
<link rel="stylesheet" href="/css/public-pages.css">
|
||||
</head>
|
||||
<body class="dark-page">
|
||||
<div class="public-wrap public-wrap-narrow">
|
||||
<h1>{{ config('app.name', '云享电商SAAS系统') }}</h1>
|
||||
<h1>{{ config('app.name', 'SaaSShop') }}</h1>
|
||||
<p class="muted">Laravel 基础框架已启动。当前项目已切到 SaaS 电商多端底座方向,默认欢迎页已简化为可维护版本,样式统一走外置 CSS。</p>
|
||||
<div class="grid-2">
|
||||
<div class="card">
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{ config('app.name', '云享电商SAAS系统') }} Laravel 初始化页</title>
|
||||
<title>SaaSShop Laravel 初始化页</title>
|
||||
<link rel="stylesheet" href="/css/public-pages.css">
|
||||
</head>
|
||||
<body class="dark-page">
|
||||
<div class="public-wrap public-wrap-narrow">
|
||||
<h1>{{ config('app.name', '云享电商SAAS系统') }} Laravel 初始化页</h1>
|
||||
<h1>SaaSShop Laravel 初始化页</h1>
|
||||
<p class="muted">访问地址:<code>http://192.168.10.199:9001/</code></p>
|
||||
<div class="grid-2">
|
||||
<div class="card"><h3>框架</h3><p class="ok">Laravel 已部署</p></div>
|
||||
|
||||
@@ -49,15 +49,4 @@ class AdminPlatformOrderToolsGovernanceHintTest extends TestCase
|
||||
->assertSee('先去治理(取消只看可同步)', false)
|
||||
->assertSee('syncable_only=', false);
|
||||
}
|
||||
|
||||
public function test_platform_orders_tools_show_hint_when_sync_failed_filters_present(): void
|
||||
{
|
||||
$this->loginAsPlatformAdmin();
|
||||
|
||||
$this->get('/admin/platform-orders?sync_status=failed')
|
||||
->assertOk()
|
||||
->assertSee('当前筛选包含「同步失败/失败原因」范围', false)
|
||||
->assertSee('进入同步失败集合', false)
|
||||
->assertSee('sync_status=failed', false);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user