Commit 87d5e620 authored by 石盼盼's avatar 石盼盼

更换线上地址

parent 89fedcd3
......@@ -58,7 +58,7 @@ App({
codeChangeToken(code, cb) {
let that = this
wx.request({
url: 'https://wandoutiyu.test.xueyoubangedu.com/api/getsessionkey',
url: 'https://wandoutiyu.xueyoubangedu.com/api/getsessionkey',
data: {
code: code
},
......@@ -87,7 +87,7 @@ App({
wx.checkSession({
success() {
wx.request({
url: 'https://wandoutiyu.test.xueyoubangedu.com/api/saveinfo',
url: 'https://wandoutiyu.xueyoubangedu.com/api/saveinfo',
data: {
encryptedData: encodeURIComponent(info.encryptedData),
iv: encodeURIComponent(info.iv),
......
......@@ -3,8 +3,8 @@ var app = getApp()
const qiniuUploader = require("./qiniuUploader.js");
class Base {
constructor() {
// this.baseUrl = 'https://wandoutiyu.xueyoubangedu.com/api/' //线上接口
this.baseUrl = 'https://wandoutiyu.test.xueyoubangedu.com/api/' //测试接口
this.baseUrl = 'https://wandoutiyu.xueyoubangedu.com/api/' //线上接口
// this.baseUrl = 'https://wandoutiyu.test.xueyoubangedu.com/api/' //测试接口
}
newRequest(params, flag = false, tips = true) {
let that = this
......
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