Commit 0058517f authored by youjie's avatar youjie

旅小友绑定

parent d69e5e11
......@@ -193,6 +193,7 @@ export default {
if (res.resultCode == 1) {
obj.OpenId = res.data;
that.getLogin(obj);
}
}
);
......@@ -274,6 +275,23 @@ export default {
//不是相亲模式的时候去更新头像和昵称
that.updateuserinfo(that.msg); //更新用户头像
}
that.request2({
url: "/api/MemberUser/SetMemberBindCustomer",
data: {
Id: that.msg.Id,
CustomerOpenId: uni.getStorageSync('jzTravelOpenId')
},
},
(res) => {
if (res.resultCode == 1) {
}
},(err) => {
uni.showToast({
title: err.message,
icon: "none",
});
}
);
}
}
);
......
......@@ -256,6 +256,9 @@
let c = this.$uiConfig.is_bang ? 78 : 50;
this.boxpaddingbottom = c;
this.contentHeight = this.$utils.calcContentHeight(c);
if (options && options.jzTravelOpenId) {
uni.setStorageSync("jzTravelOpenId", options.jzTravelOpenId);
}
if (options && options.page_id) {
this.pageId = options.page_id;
let queryString = "";
......
......@@ -162,6 +162,10 @@
<view class="label">佣金抵扣</view>
<view class="content right">-¥{{ orders.DeductionCommission }}</view>
</view>
<view class="field" v-if="orders.integralMoney>0">
<view class="label">积分抵扣</view>
<view class="content right">-¥{{ orders.integralMoney }}</view>
</view>
<view style="width: 100%;height: 1px;background: #f5f5f5;margin: 5px 0;"></view>
<view class="field">
<view class="label">&nbsp;</view>
......
......@@ -2,10 +2,11 @@ export default {
install(Vue, options) {
Vue.prototype.host = "https://wx.weibaoge.cn/web/index.php?_mall_id=1285"
Vue.prototype.host2 = "https://mallApi.oytour.com" //电商接口
// Vue.prototype.host2 = "https://mallApi.oytour.com" //电商接口
Vue.prototype.host2 = "http://192.168.5.39:8089"
//Vue.prototype.host2 = "http://192.168.5.46:8200"
Vue.prototype.host2 = "http://192.168.5.56:8029"
// Vue.prototype.host3 = "https://jjeduapi.oytour.com" //进阶小课堂以前接口
// Vue.prototype.host2 = "http://192.168.5.56:8029"
Vue.prototype.host3 = "https://jjeduapi.oytour.com" //进阶小课堂以前接口
Vue.prototype.UploadConfig = function() { //本地上传配置
return {
UploadUrl: this.host2.indexOf('mallApi') != -1 ? "https://upload.oytour.com/Upload/AppUpload" : "http://192.168.20.214:8120/Upload/AppUpload",
......@@ -208,7 +209,7 @@ export default {
// 获取小程序APPID
Vue.prototype.GetMiniAppId = function() {
let appObj = {};
let appType = 15;
let appType = 1;
switch (appType) {
case 1: //赞羊
appObj = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment