替换域名

This commit is contained in:
luyuan 2020-08-18 15:19:29 +08:00
parent 4f7fc23c23
commit 7090635886
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3
8 changed files with 14 additions and 14 deletions

View File

@ -1,7 +1,7 @@
const install = (Vue, vm) => {
// 此为自定义配置参数,具体参数见上方说明
Vue.prototype.$u.http.setConfig({
baseUrl: 'https://dmmall.sdbairui.com/storeapi',
baseUrl: 'http://mall.dmygkeji.com/storeapi',
loadingText: '努力加载中~',
loadingTime: 800,
originalData: true,

View File

@ -216,7 +216,7 @@ export default {
const token = uni.getStorageSync('token');
let that = this
uni.request({
url:"https://dmmall.sdbairui.com/api/Specialci/getAtwillUserInfo",
url:"http://mall.dmygkeji.com/api/Specialci/getAtwillUserInfo",
data:{
userId: ID
},

View File

@ -106,7 +106,7 @@ export default {
sex: ''
},
// 使
action: 'https://dmmall.sdbairui.com/storeapi/Upload/uploadFile',
action: 'http://mall.dmygkeji.com/storeapi/Upload/uploadFile',
coverformdata: {
name: 'article_cover'
},

View File

@ -28,7 +28,7 @@
<!-- 标签的引入 -->
<tap_tosign :fileListes="fileListes" @chuangjian="chuangjian" @qiehuan="qiehuan"></tap_tosign>
<view class="titles">直播封面图</view>
<u-upload :form-data="{'name':'article_cover'}" action='https://dmmall.sdbairui.com/storeapi/Upload/uploadFile' name="article_cover" :header="{'Authorization' : 'Bearer' + ' ' + token}" :max-count="1" :show-progress="true" @on-change="tupian" @on-success="sccg" del-color="#ececec" upload-text="上传" del-bg-color="#fff" :before-upload="shangchuan"></u-upload>
<u-upload :form-data="{'name':'article_cover'}" action='http://mall.dmygkeji.com/storeapi/Upload/uploadFile' name="article_cover" :header="{'Authorization' : 'Bearer' + ' ' + token}" :max-count="1" :show-progress="true" @on-change="tupian" @on-success="sccg" del-color="#ececec" upload-text="上传" del-bg-color="#fff" :before-upload="shangchuan"></u-upload>
</view>
<view class="button-uview">
<u-button :hair-line="false" @click="kaibo">{{relerest}}</u-button>

View File

@ -170,7 +170,7 @@ export default {
Authorization: 'Bearer' + ' ' + uni.getStorageSync('token')
},
// 使
action: 'https://dmmall.sdbairui.com/storeapi/Upload/uploadFile',
action: 'http://mall.dmygkeji.com/storeapi/Upload/uploadFile',
fileListA: [],
imgarrA: [],
videopath: '', //

View File

@ -438,7 +438,7 @@
this.chatroom_id = a.id
this.live_id = a.live_id
uni.request({
url:"https://dmmall.sdbairui.com/storeapi/Streaming/liveStreamList",
url:"http://mall.dmygkeji.com/storeapi/Streaming/liveStreamList",
method:"POST",
header:{
'Authorization' : 'Bearer' + " " + token
@ -449,7 +449,7 @@
}
})
uni.request({
url:"https://dmmall.sdbairui.com/storeapi/member/memberInfo",
url:"http://mall.dmygkeji.com/storeapi/member/memberInfo",
method:"POST",
header:{
'Authorization' : 'Bearer' + " " + token
@ -601,7 +601,7 @@
success: function (res) {
if (res.confirm) {
uni.request({
url:"https://dmmall.sdbairui.com/storeapi/Streaming/destroyChatRoom",
url:"http://mall.dmygkeji.com/storeapi/Streaming/destroyChatRoom",
data:{
chatroom_id:that.chatroom_id,
live_id:that.live_id,
@ -732,7 +732,7 @@
console.log(arr.join(','))
let that = this
uni.request({
url:"https://dmmall.sdbairui.com/storeapi/Streaming/updateGoods",
url:"http://mall.dmygkeji.com/storeapi/Streaming/updateGoods",
method:"POST",
data:{
goods_id:arr.join(',')
@ -743,7 +743,7 @@
success(res){
console.log(res)
uni.request({
url:"https://dmmall.sdbairui.com//storeapi/Streaming/liveStreamList",
url:"http://mall.dmygkeji.com//storeapi/Streaming/liveStreamList",
method:"POST",
header:{
'Authorization' : 'Bearer' + " " + token

View File

@ -91,7 +91,7 @@ export default {
console.log(JSON.stringify(res.tempFilePaths));
const tempFilePaths = res.tempFilePaths;
uni.uploadFile({
url: 'https://dmmall.sdbairui.com/storeapi/Upload/uploadFile',
url: 'http://mall.dmygkeji.com/storeapi/Upload/uploadFile',
filePath: tempFilePaths[0],
name: 'avatar',
formData:{

View File

@ -105,7 +105,7 @@ IMService.prototype.initialContacts = function (friendList) {
const token = uni.getStorageSync('token');
console.log(token)
uni.request({
url:"https://dmmall.sdbairui.com/api/Specialci/getAtwillUserInfo",
url:"http://mall.dmygkeji.com/api/Specialci/getAtwillUserInfo",
data:{
userId:i[0]
},
@ -282,7 +282,7 @@ IMService.prototype.initialIMListeners = function () {
const token = uni.getStorageSync('token');
console.log(token)
uni.request({
url:"https://dmmall.sdbairui.com/api/Specialci/getAtwillUserInfo",
url:"http://mall.dmygkeji.com/api/Specialci/getAtwillUserInfo",
data:{
userId:message.senderId
},
@ -410,7 +410,7 @@ IMService.prototype.sendMessagesSetStorage = function (friendId,message){
const token = uni.getStorageSync('token');
console.log(token)
uni.request({
url:"https://dmmall.sdbairui.com/api/Specialci/getAtwillUserInfo",
url:"http://mall.dmygkeji.com/api/Specialci/getAtwillUserInfo",
data:{
userId:friendId
},