Skip to content

Commit

Permalink
refactor: nuxt 模块改用标签进行筛选
Browse files Browse the repository at this point in the history
  • Loading branch information
build-admin committed Jun 13, 2023
1 parent 59a6bfb commit 7f0498e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion extend/ba/module/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static function download(string $uid, string $dir, array $extend = []): s
$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) {
Expand Down
2 changes: 1 addition & 1 deletion web/src/api/backend/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 7f0498e

Please sign in to comment.