|
@@ -2,7 +2,7 @@
|
|
|
* @Author: fxs bjnsfxs@163.com
|
|
|
* @Date: 2024-08-20 17:24:06
|
|
|
* @LastEditors: fxs bjnsfxs@163.com
|
|
|
- * @LastEditTime: 2024-09-02 15:38:34
|
|
|
+ * @LastEditTime: 2024-09-03 15:24:24
|
|
|
* @FilePath: \Game-Backstage-Management-System\src\hooks\useRequest.ts
|
|
|
* @Description:
|
|
|
*
|
|
@@ -16,8 +16,9 @@ import type { AxiosResponse } from 'axios'
|
|
|
import type { ResponseInfo } from '@/types/res'
|
|
|
|
|
|
export function useRequest() {
|
|
|
- const baseIp = 'http://server.ichunhao.cn' // 线上
|
|
|
+ // const baseIp = 'http://server.ichunhao.cn' // 线上
|
|
|
// const baseIp = 'http://192.168.1.139:8000' // 本地
|
|
|
+ const baseIp = 'http://service.ichunhao.cn' // 正式服
|
|
|
|
|
|
const AllApi = {
|
|
|
// mock: `http://127.0.0.1:8003/mock`,
|