diff --git a/App.vue b/App.vue
index 92f0e3e..f56ee42 100644
--- a/App.vue
+++ b/App.vue
@@ -67,6 +67,8 @@ export default {
uni.$emit('paySuccess',{
type:'GandanFile',
});
+ }else if(data.type=='BuyPoint'){
+ uni.navigateBack();
}
}
});
diff --git a/api/api.js b/api/api.js
index a2610a8..e594ffe 100644
--- a/api/api.js
+++ b/api/api.js
@@ -120,11 +120,11 @@ const api = {
},
// 积分支付列表
bonusPointsPayList(data) {
- return request('/expertAPI/bonusPointsPayList', data, 'post', false);
+ return request('/expertAPI/bonusPointsPayList', data, 'post', true);
},
// 积分列表
bonusPointsList(data) {
- return request('/expertAPI/bonusPointsList', data, 'post', false);
+ return request('/expertAPI/bonusPointsList', data, 'post', true);
},
getWelfarePage(data) {
@@ -673,9 +673,7 @@ const api = {
welfareList(data){
return request('/expertAPI/welfareList', data, 'post', false);
},
- getUGoods(data){
- return request('/expertApp/getUGoods', data, 'post', false);
- },
+
getUGoods(data){
return request('/expertAPI/getGoodsDetailU', data, 'post', false);
},
@@ -688,6 +686,10 @@ const api = {
createBointsOrder(data){
return request('/expertPay/createBointsOrder', data, 'post', false);
},
+ receiveWelfare(data){
+ return request('/expertAPI/receiveWelfare', data, 'post', false);
+ },
+
}
diff --git a/api/goods_api.js b/api/goods_api.js
index 436d2af..aa20e53 100644
--- a/api/goods_api.js
+++ b/api/goods_api.js
@@ -28,8 +28,20 @@ const goods_api = {
},
getGoodsOrderList(data) {
return request('/expertAPI/goodsOrderList', data, 'post', true);
+ },
+ getUpanWelfareCount(data){
+ return request('/expertAPI/getUpanWelfareCount', data, 'post', false);
+ },
+ getGoodsOrderDetail(data) {
+ return request('/expertAPI/getGoodsOrder', data, 'post', true);
+ },
+ getOrderTrack(data) {
+ return request('/expertAPI/getOrderTrack', data, 'post', true);
+ },
+ cancelGoodsOrder(data) {
+ return request('/expertAPI/cancleGoodsOrder', data, 'post', true);
}
-
+
}
export default goods_api;
\ No newline at end of file
diff --git a/components/MyHtml2canvas.vue b/components/MyHtml2canvas.vue
new file mode 100644
index 0000000..7ea9a5c
--- /dev/null
+++ b/components/MyHtml2canvas.vue
@@ -0,0 +1,94 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/components/dialog/dialog.vue b/components/dialog/dialog.vue
index 524d58f..bb9c07e 100644
--- a/components/dialog/dialog.vue
+++ b/components/dialog/dialog.vue
@@ -3,7 +3,7 @@
@@ -63,6 +63,10 @@
type: Boolean,
default: false
},
+ titleColor: {
+ type: String,
+ default: '#8B2316'
+ },
title: {
type: String,
default: '温馨提示'
diff --git a/components/empty/empty.vue b/components/empty/empty.vue
index af50838..44da94e 100644
--- a/components/empty/empty.vue
+++ b/components/empty/empty.vue
@@ -1,7 +1,7 @@
- 暂无数据
+ {{ emptyDesc }}
@@ -9,6 +9,12 @@
import { ref } from 'vue';
import { onShow } from "@dcloudio/uni-app";
import emptyImg from "@/static/icon_empty.png"
+ const props = defineProps({
+ emptyDesc: {
+ type: String,
+ default: '暂无数据'
+ }
+ })
\ No newline at end of file
diff --git a/pages/upload/upload.vue b/pages/upload/upload.vue
deleted file mode 100644
index b036a06..0000000
--- a/pages/upload/upload.vue
+++ /dev/null
@@ -1,119 +0,0 @@
-
-
-
-
-
- ×
-
-
- +
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/pages_app/buyPoint/buyPoint.vue b/pages_app/buyPoint/buyPoint.vue
index de33a8f..d7875da 100644
--- a/pages_app/buyPoint/buyPoint.vue
+++ b/pages_app/buyPoint/buyPoint.vue
@@ -63,6 +63,8 @@
import navBar from '@/components/navBar/navBar.vue';
const freeVisible = ref(false);
const freeContent = ref('您确定是否购买?');
+ const product_id = ref('');
+ const type = ref('');
const freeClose = () => {
freeVisible.value = false;
};
@@ -72,18 +74,30 @@
point: selectedPackageData.value.points
}).then(res => {
if(res.code==200){
+ console.log('price:'+res.data.amount);
+ console.log('order_id:'+res.data.order_id);
+ console.log('trade_no:'+res.data.trade_no);
+ console.log('jifen:'+res.data.point);
uni.sendNativeEvent('payPonitPage', {
msg: {
"price":res.data.amount,
"order_id":res.data.order_id,
"trade_no":res.data.trade_no,
'jifen':res.data.point,
+ 'product_id':product_id.value,
+ 'type':type.value,
},
});
}
});
};
- onLoad(() => {
+ onLoad((options) => {
+ if(options.product_id){
+ product_id.value = options.product_id;
+ }
+ if(options.type){
+ type.value = options.type;
+ }
getPointUnitPrice();
});
const pointUnitPrice = ref(1);
diff --git a/pages_app/buyUpan/address.vue b/pages_app/buyUpan/address.vue
index 287815d..67a6674 100644
--- a/pages_app/buyUpan/address.vue
+++ b/pages_app/buyUpan/address.vue
@@ -20,7 +20,7 @@
邮箱
-->
-
+
地址
@@ -34,6 +34,7 @@
详细地址
+
- 收件人:
+ 收件人:
{{ receiver }}
- 手机号:
+ 手机号:
{{ mobile }}
- 地址:
+ 地址:
{{ regionText+detail }}
- 兑换积分:
+ 兑换积分:
0积分(包邮)
请确认此次兑换,物品不退不换
@@ -102,6 +104,7 @@ import unidialog from '@/components/dialog/dialog.vue';
const freeVisible = ref(false)
const freeContent = ref('')
const goods_order_id = ref('')
+import navTo from '@/utils/navTo';
const freeClose = () => {
freeVisible.value = false
}
@@ -112,11 +115,21 @@ const freeConfirm = () => {
type: 5
}).then(res => {
if(res.code == 1 || res.code == 200){
- uni.sendNativeEvent('goTabbarPage', {
- msg: 'mine'
- },ret => {
- console.log(ret);
- })
+
+ uni.showToast({
+ title: '兑换成功',
+ icon: 'none'
+ });
+ setTimeout(() => {
+ navTo({
+ url: '/pages_goods/myRedemption/myRedemption?from=upan'
+ });
+ }, 1000);
+ // uni.sendNativeEvent('goTabbarPage', {
+ // msg: 'mine'
+ // },ret => {
+ // console.log(ret);
+ // })
}
})
}
@@ -198,13 +211,36 @@ onLoad((opts) => {
console.log(opts);
goodsUuid.value = opts.goodsUuid
goodsNum.value = opts.goodsNum
+ getAddress()
})
+const saveAddress = () => {
+ uni.setStorageSync('goods_address', {
+ receiver: receiver.value,
+ mobile: mobile.value,
+ regionText: regionText.value,
+ detail: detail.value,
+ email: email.value
+ })
+}
+const getAddress = () => {
+ const address = uni.getStorageSync('goods_address')
+ if(address){
+ receiver.value = address.receiver
+ mobile.value = address.mobile
+ regionText.value = address.regionText
+ detail.value = address.detail
+ email.value = address.email
+ }
+}
+
const submit = () => {
+
if (!receiver.value) return uni.showToast({ title: '请输入收件人', icon: 'none' })
if (!/^1\d{10}$/.test(mobile.value)) return uni.showToast({ title: '请输入正确手机号', icon: 'none' })
if (!regionText.value) return uni.showToast({ title: '请选择地址', icon: 'none' })
if (!detail.value) return uni.showToast({ title: '请输入详细地址', icon: 'none' })
+ saveAddress();
api.createGoodsOrder({
goodsUuid: goodsUuid.value,
goodsNum: goodsNum.value,
@@ -216,6 +252,7 @@ const submit = () => {
if(res.code == 1 || res.code == 200){
freeVisible.value = true
goods_order_id.value = res.data.goods_order_id
+
}
})
@@ -228,7 +265,7 @@ const submit = () => {
.form-item { display: flex; align-items: center; padding: 24rpx; }
.label { width: 160rpx; color: #333; font-size: 30rpx; }
.input { flex: 1; color: #333; font-size: 30rpx; }
-.placeholder { color: #bbb; }
+.placeholder { color: #808080;}
.divider-line { height: 2rpx; background: #eee; margin: 0 24rpx; }
.select-item { position: relative; }
.arrow { position: absolute; right: 24rpx; color: #999; font-size: 48rpx; }
@@ -247,15 +284,16 @@ const submit = () => {
.picker-empty { padding: 40rpx; text-align: center; color: #999; }
.row{
display: flex;
- align-items: center;
+ align-items: flex-start;
font-size: 28rpx;
padding: 12rpx 0;
max-width: 800rpx;
- margin-left: -100rpx;
+
.left{
text-align: left;
- max-width: 125rpx;
+ max-width: 142rpx;
+ white-space: nowrap;
width:auto!important;
}
.price{
diff --git a/pages_app/buyUpan/buyUpan.vue b/pages_app/buyUpan/buyUpan.vue
index 4b2c5ca..f46554a 100644
--- a/pages_app/buyUpan/buyUpan.vue
+++ b/pages_app/buyUpan/buyUpan.vue
@@ -7,7 +7,7 @@
- 超实用~肝胆相照知识U盘(2026年版)
+ {{ goodsInfo.name }}
@@ -52,15 +52,16 @@
@@ -162,14 +171,11 @@
// 为底部按钮留出空间
}
- .main-content {
- padding: 40rpx 30rpx;
- }
// 商品信息卡片
.product-card {
background-color: $white;
- border-radius: 16rpx;
+
padding: 40rpx 30rpx;
margin-bottom: 40rpx;
@@ -186,7 +192,7 @@
font-size: 28rpx;
.info-left {
- color: $text-secondary;
+ color: red;
}
.info-right {
diff --git a/pages_app/hot/hot.vue b/pages_app/hot/hot.vue
index 0aa9501..dd3a51b 100644
--- a/pages_app/hot/hot.vue
+++ b/pages_app/hot/hot.vue
@@ -110,6 +110,7 @@ const name=ref('');
const showInnerSort=ref(false);
const innerSortTitle=ref('上传时间');
import downloadStore from "@/store/downloadStoreFile.js";
+import isAndroid from '@/utils/platform';
const downloadTasks=ref([]);
const downLoadtaskList=computed(()=>{
return downloadTasks.value.filter((item)=>item.status == "completed" && item.type == "zhinan").map((item)=>item.id);
@@ -405,7 +406,8 @@ const viewGuideline = (cell) => {
console.log(downloadTasks.value);
downloadTasks.value.forEach(item => {
if(item.id == cell.uuid) {
- plus.runtime.openFile(item.localPath, function(e) {
+ // if(isAndroid){
+ plus.runtime.openFile(item.localPath, function(e) {
console.log('打开成功');
}, function(e) {
uni.showToast({
@@ -415,6 +417,13 @@ const viewGuideline = (cell) => {
});
console.log('打开失败:' + e.message);
});
+ // }else{
+ // uni.sendNativeEvent('openDocument', {
+ // msg: item.localPath.replaceAll('_doc/uniapp_save/',''),
+ // }, ret => {
+ // console.log(ret);
+ // });
+ // }
// uni.openDocument({
// filePath: item.localPath,
// fileType: 'pdf',
diff --git a/pages_app/myCode/myCode.vue b/pages_app/myCode/myCode.vue
index fd1f81f..a4cded2 100644
--- a/pages_app/myCode/myCode.vue
+++ b/pages_app/myCode/myCode.vue
@@ -1,6 +1,35 @@
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -10,7 +39,7 @@
-
+
@@ -19,10 +48,17 @@
-
-
+
+ 咨询专家
- {{ userInfo.realName }} {{ userInfo.positionName }}
+
+
+
+ {{ userInfo.realName }} {{ userInfo.positionName }}
{{ userInfo.hospitalName }}
@@ -31,10 +67,10 @@
-
+
-
+
@@ -47,8 +83,8 @@
1微信扫一扫上方二维码,关注“肝胆相照一家人”公众号
- 2点击“邹建东专家工作室”,选择微信登录,注册后直接发送随访申请
- 3若未弹出“随访申请发送成功”提示,请再次点击“邹建东专家工作室”发送随访申请
+ 2点击“{{ userInfo.realName }}专家工作室”,选择微信登录,注册后直接发送随访申请
+ 3若未弹出“随访申请发送成功”提示,请再次点击“{{ userInfo.realName }}专家工作室”发送随访申请
4审核通过后,点击“就医服务-随访交流”,与专家进行图文交流
@@ -65,95 +101,449 @@
-
+
+
+
+
diff --git a/pages_app/myPoint/myPoint.vue b/pages_app/myPoint/myPoint.vue
index d1d79d4..96a7539 100644
--- a/pages_app/myPoint/myPoint.vue
+++ b/pages_app/myPoint/myPoint.vue
@@ -147,11 +147,11 @@
-
-
+
@@ -177,11 +177,11 @@
今天是我们相识的第{{signInfo.gdxzday}}天
- 本周共签到{{signInfo.totalDay}}次
- 已经连续签到{{signInfo.continuous_day}}天
+ 本周共签到 {{signInfo.totalDay}} 次
+ 已连续签到 {{signInfo.continuous_day}} 天
连续签到获取更多积分
- {{signInfo.news.summary}}
+ {{signInfo.news.title}}
@@ -225,7 +225,8 @@ import signImg from "@/static/sign_in_bng_big.png"
const showSign = ref(false)
const signInfo=reactive({
news:{
- summary:''
+ summary:'',
+ title:''
}
})
// 分页相关数据 - 收益
@@ -297,10 +298,10 @@ const performCheckin = () => {
// 执行签到逻辑
setTimeout(() => {
- uni.showToast({
- title: "签到成功 +2积分",
- icon: "none",
- });
+ // uni.showToast({
+ // title: "签到成功 +2积分",
+ // icon: "none",
+ // });
//showSign.value = true;
// 签到成功后刷新数据
getMyBonusPoints();
@@ -315,7 +316,7 @@ const goNews=()=>{
const encoded = encodeURIComponent(url);
navTo({
- url: `/pages_app/webview/webview?url=${encoded}`
+ url: `/pages_app/webview/webview?url=${encoded}&type=news&share=1&sharetitle=${signInfo.news.title}`
});
}
@@ -355,10 +356,12 @@ try {
// 签到成功后刷新数据
getMyBonusPoints();
getBonusPointsList();
- uni.showToast({
- title: '签到成功,获得'+res.bonuspoints+'积分',
- icon: 'none'
- });
+ // uni.showToast({
+ // title: '签到成功,获得'+res.bonuspoints+'积分',
+ // icon: 'none'
+ // });
+ console.log(res)
+ console.log(123)
Object.assign(signInfo,res);
} else {
uni.showToast({
@@ -962,7 +965,8 @@ onMounted(() => {
top: calc(var(--status-bar-height) + 44px + 392rpx + 120rpx);
left: 0;
right: 0;
- height: calc(100vh - calc(var(--status-bar-height) + 44px + 392rpx + 120rpx));
+
+ height: calc(100vh - calc(var(--status-bar-height) + 44px + 392rpx + 120rpx + 145rpx));
z-index: 10;
bottom: 100rpx;
background-color: #ffffff;
@@ -1011,7 +1015,7 @@ onMounted(() => {
justify-content: space-between;
align-items: center;
padding: 30rpx;
- border-bottom: 1rpx solid #f0f0f0;
+ border-bottom: 2rpx solid #eee;
transition: background-color 0.3s ease;
}
@@ -1355,13 +1359,18 @@ onMounted(() => {
.signwrap .signtotal{
margin-top: 30rpx;
text-align: center;
- font-size: 30rpx;
+ font-size:28rpx;
+ color:#999;
}
.signwrap .signcontinue{
- font-size: 30rpx;
+ font-size: 28rpx;
+ color:#999;
text-align: center;
}
-
+ .signwrap .day-red{
+ color:red;
+ font-size: 34rpx;
+ }
.signwrap .signcontent .tip{
margin-top: 40rpx;
color:red;
@@ -1370,7 +1379,7 @@ onMounted(() => {
}
.signwrap .signcontent .news{
margin: 208rpx 60rpx 0;
- height: 100rpx;
+ height:86rpx;
font-size: 30rpx;
}
.signwrap .signbg{
diff --git a/pages_app/myWelfare/myWelfare.vue b/pages_app/myWelfare/myWelfare.vue
index c6b68f7..32edd84 100644
--- a/pages_app/myWelfare/myWelfare.vue
+++ b/pages_app/myWelfare/myWelfare.vue
@@ -28,7 +28,7 @@
领取福利
@@ -36,7 +36,7 @@
使用福利
@@ -44,25 +44,25 @@
兑福利卡
-
+
-
-
+
- {{ benefit.title }}
+ {{ benefit.title }}
@@ -70,7 +70,8 @@
-
+
+
@@ -78,17 +79,19 @@
{{ benefit.left_tip }}
{{ benefit.left_result }}
-
+
{{ benefit.right_tip }}
- {{ benefit.right_result }}
+ {{ benefit.right_result }}
+ {{ benefit.right_result }}
+
- 知识U盘
+ 知识U盘
-
+
@@ -112,7 +115,7 @@
\ No newline at end of file
diff --git a/pages_goods/exchange/index.vue b/pages_goods/exchange/index.vue
index 06e3d84..3c35ade 100644
--- a/pages_goods/exchange/index.vue
+++ b/pages_goods/exchange/index.vue
@@ -18,7 +18,10 @@
-->
{{ title }}
- {{ price }}积分
+
+ {{ price }}积分
+ 已兑换{{ times }}次
+
@@ -31,8 +34,8 @@
-
- 所需积分
+
+ 所需积分
{{ needPoints }}积分
@@ -42,7 +45,8 @@
{
const freeConfirm = () => {
freeVisible.value = false;
navTo({
- url: '/pages_app/buyPoint/buyPoint'
+ url: '/pages_app/buyPoint/buyPoint?product_id='+id.value+'&type=goods'
})
}
+const times=ref(0);
const title = ref('')
const price = ref(0)
const qty = ref(1)
@@ -92,13 +97,15 @@ onLoad((opts) => {
price.value = Number(opts.price || 0)
id.value = opts.id || ''
type.value = opts.type
+ times.value = opts.times
setQty(1)
- getTotalPoints()
+
}
})
onShow(() => {
loadAddress()
+ getTotalPoints()
})
const STORAGE_KEY = 'goods_addresses'
@@ -183,6 +190,19 @@ const getTotalPoints = () => {
\ No newline at end of file
diff --git a/pages_goods/myRedemption/myRedemption.vue b/pages_goods/myRedemption/myRedemption.vue
index c68010d..226d2e1 100644
--- a/pages_goods/myRedemption/myRedemption.vue
+++ b/pages_goods/myRedemption/myRedemption.vue
@@ -1,7 +1,20 @@
-
+
+
+
+
+
+
+
-
-
+
+
兑换物品:
- {{ item.goods_name }}
+ {{ item.goods_name }}
兑换时间:
@@ -24,7 +37,7 @@
状态:
- {{ statusText(item.status) }}
+ {{ statusText(item.status) }}
@@ -38,12 +51,39 @@ import goods_api from '@/api/goods_api'
import { ref, onMounted } from 'vue'
import navBar from '@/components/navBar/navBar.vue'
import empty from '@/components/empty/empty.vue'
+import navTo from '@/utils/navTo.js'
+import { onLoad,onBackPress} from '@dcloudio/uni-app'
const orderList = ref([])
const page = ref(1)
const pageSize = ref(10)
const isLoading = ref(false)
const noMore = ref(false)
-const refresherTriggered = ref(false)
+const refresherTriggered = ref(false);
+const from = ref('')
+
+onLoad((options) => {
+ if(options.from){
+ from.value = options.from
+ }
+})
+const goBack = () => {
+ if(from.value){
+ plus.runtime.quit();
+ }else{
+ uni.navigateBack();
+ }
+}
+onBackPress(() => {
+ if(from.value){
+ plus.runtime.quit();
+ return true;
+ }
+});
+const goDetail=(item)=>{
+ navTo({
+ url: `/pages_goods/exchange/exchangeDetail?id=${item.uuid}`
+ })
+}
const fetchList = () => {
if (isLoading.value || noMore.value) return
@@ -82,9 +122,13 @@ const formatDate = (sec) => {
}
const statusText = (s) => {
- if (s === 1 || s === 2) return '已支付'
- if (s === 3) return '待支付'
- return ''
+ if (s === 1 ) return '待支付'
+ if (s === 2 ) return '已支付'
+ if (s === 3) return '已取消'
+ if (s === 4) return '已发货'
+ if (s === 5) return '已收货'
+ if(s === 6) return '订单异常'
+
}
const statusClass = (s) => {
@@ -97,17 +141,17 @@ onMounted(() => {
orderList.value = []
fetchList()
})
-const goBack = () => uni.navigateBack()
+
diff --git a/static/myjifen_big-1.png b/static/myjifen_big-1.png
new file mode 100644
index 0000000..8f8f6d0
Binary files /dev/null and b/static/myjifen_big-1.png differ
diff --git a/static/myjifen_big.png b/static/myjifen_big.png
index 8f8f6d0..9b10139 100644
Binary files a/static/myjifen_big.png and b/static/myjifen_big.png differ
diff --git a/static/play.png b/static/play.png
new file mode 100644
index 0000000..004e853
Binary files /dev/null and b/static/play.png differ
diff --git a/static/reward.png b/static/reward.png
new file mode 100644
index 0000000..7c5421a
Binary files /dev/null and b/static/reward.png differ
diff --git a/static/right_selsect_big.png b/static/right_selsect_big.png
new file mode 100644
index 0000000..37ddfb4
Binary files /dev/null and b/static/right_selsect_big.png differ
diff --git a/tsconfig.json b/tsconfig.json
index 90721ff..bce87cf 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -96,6 +96,14 @@
+
+
+
+
+
+
+
+
diff --git a/utils/config.js b/utils/config.js
index 3bf886e..955876d 100644
--- a/utils/config.js
+++ b/utils/config.js
@@ -1,4 +1,4 @@
-let BASE_URL='https://dev-app.igandan.com/app';
-//let BASE_URL='https://app.igandan.com/app'
+//let BASE_URL='https://dev-app.igandan.com/app';
+let BASE_URL='https://app.igandan.com/app'
export default BASE_URL
\ No newline at end of file
diff --git a/utils/docUrl.js b/utils/docUrl.js
index 62623a6..59aa750 100644
--- a/utils/docUrl.js
+++ b/utils/docUrl.js
@@ -1,5 +1,5 @@
-let DOC_URL='https://dev-doc.igandan.com/app/';
-//let DOC_URL='https://doc.igandan.com/app/'
+//let DOC_URL='https://dev-doc.igandan.com/app/';
+let DOC_URL='https://doc.igandan.com/app/'
// if(app.globalData.apiHost.indexOf('dev')>-1){
// DOC_URL='https://dev-doc.igandan.com/app/'
// }else{
diff --git a/utils/otherHost.js b/utils/otherHost.js
index 9693cac..11eb0ef 100644
--- a/utils/otherHost.js
+++ b/utils/otherHost.js
@@ -1,5 +1,5 @@
-let OTHER_HOST='https://dev-wx.igandan.com'
-//let OTHER_HOST='https://wx.igandan.com'
+//let OTHER_HOST='https://dev-wx.igandan.com'
+let OTHER_HOST='https://wx.igandan.com'
//const app = getApp({allowDefault: true});
// if(app.globalData.apiHost && app.globalData.apiHost.indexOf('dev')>-1){
// OTHER_HOST='https://dev-wx.igandan.com'
diff --git a/utils/request.js b/utils/request.js
index 89ac557..82b63ce 100644
--- a/utils/request.js
+++ b/utils/request.js
@@ -112,7 +112,7 @@ export const request = (url, data = {}, method = 'post', loading = false, conten
};
if(url.indexOf('manager/getSystemTimeStamp')!=-1){
e(res)
- }else if (res.data.code == 200 || res.data.code == 1 || res.data.code == "1" || res.data.code == "200"){
+ }else if (res.data.code == 200 || res.data.code == 1 || res.data.code == "1" || res.data.code == "200" ){
e(res.data)
}else if (res.data.code == 401 || res.data.code == 403 || res.data.code ==
405 || res.data.code == 406 || res.data.code == 37006) {
diff --git a/utils/version.js b/utils/version.js
index 62d5b7e..b995a9b 100644
--- a/utils/version.js
+++ b/utils/version.js
@@ -1,2 +1,2 @@
-const version="4.2.0"
+const version="4.2.2"
export default version
\ No newline at end of file