Commit 57e44cc5 authored by 黄奎's avatar 黄奎

1

parent b4f8918f
......@@ -434,7 +434,6 @@
(res) => {
uni.hideNavigationBarLoading()
that.fenxqrcode = that.host2 + res.data;
// that.fenxqrcode = 'http://192.168.2.16:8088/upfile/temporary/d259ce3f-eee3-4c20-976d-4d054f6f16b3.jpg';
console.log(that.fenxqrcode)
}
);
......
......@@ -84,7 +84,6 @@
console.log(res,'weixin数据');
uni.hideNavigationBarLoading()
that.fenxqrcode = that.host2 + res.data;
// that.fenxqrcode = 'https://mallapi.oytour.com/upfile/temporary/864369a3-8da8-4735-bcc8-a2dfe5c6f357.jpg'
console.log(that.fenxqrcode,'fenxqrcode')
let tmpTimeout = setTimeout(() => {
that.drawCtx();
......
......@@ -129,7 +129,6 @@
// console.log(103,this.EduSchoolId)
uni.hideNavigationBarLoading()
that.fenxqrcode = that.host2 + res.data;
// that.fenxqrcode = 'https://mallapi.oytour.com/upfile/temporary/864369a3-8da8-4735-bcc8-a2dfe5c6f357.jpg'
console.log(that.fenxqrcode)
let tmpTimeout = setTimeout(() => {
that.drawCtx();
......
export default {
install(Vue, options) {
Vue.prototype.host = "https://wx.weibaoge.cn/web/index.php?_mall_id=1285"
//Vue.prototype.host2 = "http://192.168.10.128:8200"
//Vue.prototype.host3 = "http://192.168.10.128:8900"//本地
Vue.prototype.host2 = "https://mallApi.oytour.com" //测试
//Vue.prototype.host2 = "http://192.168.10.68:8200"
//进阶思维后台地址
//Vue.prototype.host3 = "http://192.168.10.128:8900"//本地
Vue.prototype.host3 = "https://jjeduapi.oytour.com" //测试
Vue.prototype.host2 = "https://mallApi.oytour.com" //电商接口
//Vue.prototype.host2 = "http://192.168.5.46:5000"
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",
......@@ -210,7 +208,7 @@ export default {
// 获取小程序APPID
Vue.prototype.GetMiniAppId = function() {
let appObj = {};
let appType = 14;
let appType = 15;
switch (appType) {
case 1: //赞羊
appObj = {
......@@ -311,6 +309,13 @@ export default {
MallBaseId: 19,
};
break;
case 15:
appObj = { //宜宾商载通
AppId: 'wxaeb077c07ed6f30d',
TenantId: 30,
MallBaseId: 20,
};
break;
}
return 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