1 Star 0 Fork 0

菜徐鸭/renren-uni-xcx-vue

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
main.js 2.46 KB
一键复制 编辑 原始数据 按行查看 历史
菜徐鸭 提交于 2020-11-12 13:38 . 1.修改编译配置
import Vue from 'vue'
import App from './App'
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
...App
})
app.$mount()
let baseUrl="http://192.168.0.4:8282/renren-fast"
Vue.prototype.url={
"wx":{
"login":baseUrl+"/app/wx/login",
"microAppPayOrder":baseUrl+"/app/wx/microAppPayOrder",
"updateOrderStatus":baseUrl+"/app/wx/updateOrderStatus"
},
"zfb":{
"login":baseUrl+"/app/zfb/login",
"microAppPayOrder":baseUrl+"/app/zfb/microAppPayOrder",
"updateOrderStatus":baseUrl+"/app/zfb/updateOrderStatus",
"appPayOrder": baseUrl + "/app/zfb/appPayOrder"
},
"login":baseUrl+"/app/user/login",
"searchUserOrderList":baseUrl+"/app/order/searchUserOrderList",
}
Vue.prototype.zfb={
app:{
appid:"2016110100783462",
privateKey:"MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCJX+2n5Ck5/fsSnw0hEkMzrT7Kut9pI66G3xtQzdNPCvp5046yz7XYEZnYSbs98Yrx/7XMVQ7AkZWgupuQKooU35V0sdl/oW6/KSYcMX7fHvQ/eh0fGWA2ZRReI2yCL+miHygs4iYPb0+Mgxn48CuU96fMzKm0KnTEk//KIsH+2m8omftaMIPYnlQMviUXJ/0FpkOwuphaNPcO7+cmuU7M2qpQ/W/gd9Xk/TX9wcjfeRVqhe4N1kL0gbzYjtC+vpm/wAPgc+Z8bHAG/bJkZDXfTuWcRJ3GQoB3brV5eTSQrOBJOr7F2B3rSmaEbje1hjI4pQlbwtYR1ORgu+V2eWEnAgMBAAECggEADXDBQ8fi8LWUtwGwuye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KqQg43GWnzDUtx5vXHh8MZsepw/Mbw7GK5AfxkZ97DOFoKLsiFFzLPKMggRUAGt696RJ6ht/P2hKq70TAsXqNfD6WS9pQyKFKkauBiRy2Wv4T8Y6FnE2g=="
}
}
//Vue.prototype.appEnv="H5APP"
Vue.prototype.appEnv="微信小程序"
//Vue.prototype.appEnv="支付宝小程序"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/fuckjava/renren-uni-xcx-vue.git
[email protected]:fuckjava/renren-uni-xcx-vue.git
fuckjava
renren-uni-xcx-vue
renren-uni-xcx-vue
master

搜索帮助