@@ -549,7 +549,7 @@ Page({
})
const recordSource = this.data.recordSource;
wx.uploadFile({
- url: 'https://reader-api.efunbox.cn//file/upload',
+ url: 'https://reader-api.ai160.com//file/upload',
filePath: recordSource,
name: '朗读录音',
header: {
@@ -87,7 +87,7 @@ Page({
// tempFilePath可以作为img标签的src属性显示图片
const localImage = res.tempFilePaths[0];
- url: 'https://reader-api.efunbox.cn/file/upload',
+ url: 'https://reader-api.ai160.com/file/upload',
filePath: localImage,
name: '头像',
@@ -1,10 +1,11 @@
// 常量列表
module.exports = {
- // productApi: 'https://reader.lingjiao.cn/readerProduct/',
- // productApi: 'https://readertest.lingjiao.cn:442/readerProduct/',
- productApi: 'https://reader-test.efunbox.cn/readerProduct/',
- // baseApi: 'https://reader.lingjiao.cn/readerBase/'
- // baseApi: 'https://readertest.lingjiao.cn:442/readerBase/'
- baseApi: 'https://reader-api.efunbox.cn/'
- // baseApi: 'https://reader-api.efunbox.cn/'
-}
+ // productApi: 'https://reader.lingjiao.cn/readerProduct/',
+ // productApi: 'https://readertest.lingjiao.cn:442/readerProduct/',
+ productApi: 'https://reader-test.efunbox.cn/readerProduct/',
+ // baseApi: 'https://reader.lingjiao.cn/readerBase/'
+ // baseApi: 'https://readertest.lingjiao.cn:442/readerBase/'
+ // baseApi: 'https://reader-api.efunbox.cn/'
+ baseApi: 'https://reader-api.ai160.com/'
+ // https://reader-api.ai160.com/
+}
@@ -1,5 +1,5 @@
-let baseUrl = 'https://reader-api.efunbox.cn/wx'
-let oldUrl = 'https://reader-api.efunbox.cn'
+let baseUrl = 'https://reader-api.ai160.com/wx'
+let oldUrl = 'https://reader-api.ai160.com'
function request(url, method, data, oldBaseUrl = false) {