mirror of
https://gitee.com/wonderful-code/buildadmin
synced 2024-11-21 22:55:36 +00:00
refactor: nuxt 模块改用标签进行筛选
This commit is contained in:
parent
59a6bfb1c8
commit
7f0498e095
@ -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) {
|
||||
|
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user