|
@@ -121,7 +121,7 @@ export default {
|
|
|
return;
|
|
|
}
|
|
|
// 判断数据
|
|
|
- this.$http.request("api/custom/get_info").then((callback) => {
|
|
|
+ this.$http.request("api/question_bank/question_reception/custom/get_info").then((callback) => {
|
|
|
if (callback.code == "success") {
|
|
|
if (!callback.data.userpic) callback.data.userpic = "https://kailin-mp.oss-cn-shenzhen.aliyuncs.com/static/icon/doctor.png";
|
|
|
// 赋值
|
|
@@ -130,7 +130,6 @@ export default {
|
|
|
uni.setStorageSync("userInfo", callback.data);
|
|
|
}
|
|
|
});
|
|
|
- this._getPacketNum();
|
|
|
},
|
|
|
methods: {
|
|
|
_getredpacket() {
|
|
@@ -152,17 +151,6 @@ export default {
|
|
|
url: "/pages/balance/index",
|
|
|
});
|
|
|
},
|
|
|
- //获取红包数量是否展示红包领取页面
|
|
|
- _getPacketNum() {
|
|
|
- this.$http.request("api/redpacket/get_list").then((callback) => {
|
|
|
- if (callback.code == "success") {
|
|
|
- this.packetList = callback.data.data || [];
|
|
|
- if (callback.data.data.length > 0) {
|
|
|
- this.show_packet = true;
|
|
|
- }
|
|
|
- }
|
|
|
- });
|
|
|
- },
|
|
|
closePacket() {
|
|
|
this.show_packet = false;
|
|
|
},
|