feat(用户端): 恢复青果供应商入口(QINGGUO_ENABLED=true,2026-11-25 用户拍板准备配置青果)——变体采集 DE 窗实锤 jikip 国内出口被 amazon.de 风控,改走青果海外隧道;链路本就未拆,纯函数 1 支+mount 2 文件判据同步恢复态

This commit is contained in:
2026-11-25 17:06:37 +08:00
parent a8d4b643f9
commit 4f1367ef69
4 changed files with 19 additions and 17 deletions
@@ -264,14 +264,15 @@ describe('青果放开检测:按钮、送检链接与结果文案', () => {
})
})
describe('青果下架(2026-11-08):入口屏蔽,存量配置照常回显', () => {
it('供应商单选里不再出现青果,只剩极客(开关在 api-secret-channel.ts,不许模板里自己过滤)', async () => {
describe('青果恢复(2026-11-25 拍板「前端把青果的放出来」):入口回到单选,存量配置照常回显', () => {
it('供应商单选出现极客与青果两项(开关在 api-secret-channel.ts,不许模板里自己过滤)', async () => {
const panel = await mountPanel()
const options = proxyCard(panel).findAll('.source-option')
expect(options.map((option) => option.find('.source-option-label').text())).toEqual(['极客'])
// 单选区(不是整卡):存量青果配置的说明文案里本来就有青果域名,那是「照常回显」
expect(options.map((option) => option.find('.source-option-hint').text())).toEqual(['api.jikip.com(默认)'])
expect(options.map((option) => option.find('.source-option-label').text())).toEqual(['极客', '青果'])
// 默认项在前(jikip 仍是默认供应商,DEFAULT_PROXY_PROVIDER 未动)
expect(options.map((option) => option.find('.source-option-hint').text()))
.toEqual(['api.jikip.com(默认)', 'overseas.proxy.qg.net'])
})
it('存量青果配置仍按青果回显:货源标签与账密输入原样在,检测照常可点', async () => {