refactor: nuxt 模块改用标签进行筛选

This commit is contained in:
妙码生花 2023-06-14 00:13:29 +08:00
parent 59a6bfb1c8
commit 7f0498e095
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ class Server
$tmpFile = $dir . $uid . ".zip";
try {
$client = self::getClient();
$response = $client->get('/api/v4.store/download', ['query' => array_merge(['uid' => $uid, 'server' => 1], $extend)]);
$response = $client->get('/api/v5.store/download', ['query' => array_merge(['uid' => $uid, 'server' => 1], $extend)]);
$body = $response->getBody();
$content = $body->getContents();
if ($content == '' || stripos($content, '<title>系统发生错误</title>') !== false) {

View File

@ -5,7 +5,7 @@ import { useBaAccount } from '/@/stores/baAccount'
const userControllerUrl = '/api/user/'
const captchaUrl = '/api/common/captcha'
const moduleControllerUrl = '/admin/module/'
const storeUrl = '/api/v4.store/'
const storeUrl = '/api/v5.store/'
export function index(params: anyObj = {}) {
return createAxios({