master
jevononlie 7 months ago
parent 9830ab7fe4
commit ae53c29f1c

@ -161,7 +161,7 @@ const handleJump = (type) => {
</view>
</view>
</view> -->
<!-- <view class="module">
<view class="module">
<view class="module-title">订单中心</view>
<view class="module-list">
<view class="item" @click="handleJump('book')">
@ -177,7 +177,7 @@ const handleJump = (type) => {
<view class="label">到站回收</view>
</view>
</view>
</view> -->
</view>
<view class="list">
<!-- <navigator class="loation item arrow" url="/pages/orderList/orderList" hover-class="none">

@ -1,7 +1,7 @@
/*
* @Author:
* @Date: 2024-01-04 12:54:56
* @LastEditors:
* @LastEditors:
* @LastEditTime: 2024-03-29 22:49:49
* @FilePath: /app-nx-personal/src/services/constants.ts
* @Description: ,`customMade`, koroFileHeader : https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
@ -52,8 +52,8 @@ export const bannerList = [
},
]
// 文件路径
export const serviceDomain = 'https://nxhs.cjyx.cc'
// export const serviceDomain = 'http://222.71.165.188:8808'
// export const serviceDomain = 'https://nxhs.cjyx.cc'
export const serviceDomain = 'http://222.71.165.188:8808'
// export const serviceDomain = 'http://192.168.0.166:8808'
export const storage_userInfo = {
userType: {

@ -60,6 +60,7 @@ type Data<T> = {
function ajaxError(data) {
uni.showToast({
title: data.msg || '请求出错,请重试',
duration: 3000,
icon: 'none',
complete() {
if (data.code === 600 || data.code === 601 || data.code === 602) {
@ -110,6 +111,7 @@ export const http = <T>(options: UniApp.RequestOptions) => {
fail(err) {
uni.showToast({
icon: 'none',
duration: 3000,
title: '网络错误,换个网络试试',
})
reject(err)

Loading…
Cancel
Save