Merge pull request '域名' (#63) from xbx into master

Reviewed-on: http://git.luyuan.tk/luyuan/demingshangjia/pulls/63
This commit is contained in:
luyuan 2020-08-18 15:31:33 +08:00
commit baf39b01e2
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: 'http://mall.dmygkeji.com/storeapi',
baseUrl: 'https://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:"http://mall.dmygkeji.com/api/Specialci/getAtwillUserInfo",
url:"https://mall.dmygkeji.com/api/Specialci/getAtwillUserInfo",
data:{
userId: ID
},

View File

@ -106,7 +106,7 @@ export default {
sex: ''
},
// 使
action: 'http://mall.dmygkeji.com/storeapi/Upload/uploadFile',
action: 'https://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='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>
<u-upload :form-data="{'name':'article_cover'}" action='https://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: 'http://mall.dmygkeji.com/storeapi/Upload/uploadFile',
action: 'https://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:"http://mall.dmygkeji.com/storeapi/Streaming/liveStreamList",
url:"https://mall.dmygkeji.com/storeapi/Streaming/liveStreamList",
method:"POST",
header:{
'Authorization' : 'Bearer' + " " + token
@ -449,7 +449,7 @@
}
})
uni.request({
url:"http://mall.dmygkeji.com/storeapi/member/memberInfo",
url:"https://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:"http://mall.dmygkeji.com/storeapi/Streaming/destroyChatRoom",
url:"https://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:"http://mall.dmygkeji.com/storeapi/Streaming/updateGoods",
url:"https://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:"http://mall.dmygkeji.com//storeapi/Streaming/liveStreamList",
url:"https://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: 'http://mall.dmygkeji.com/storeapi/Upload/uploadFile',
url: 'https://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:"http://mall.dmygkeji.com/api/Specialci/getAtwillUserInfo",
url:"https://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:"http://mall.dmygkeji.com/api/Specialci/getAtwillUserInfo",
url:"https://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:"http://mall.dmygkeji.com/api/Specialci/getAtwillUserInfo",
url:"https://mall.dmygkeji.com/api/Specialci/getAtwillUserInfo",
data:{
userId:friendId
},