域名
This commit is contained in:
parent
19187b67fc
commit
79990e56d2
@ -1,7 +1,7 @@
|
|||||||
const install = (Vue, vm) => {
|
const install = (Vue, vm) => {
|
||||||
// 此为自定义配置参数,具体参数见上方说明
|
// 此为自定义配置参数,具体参数见上方说明
|
||||||
Vue.prototype.$u.http.setConfig({
|
Vue.prototype.$u.http.setConfig({
|
||||||
baseUrl: 'http://mall.dmygkeji.com/storeapi',
|
baseUrl: 'https://mall.dmygkeji.com/storeapi',
|
||||||
loadingText: '努力加载中~',
|
loadingText: '努力加载中~',
|
||||||
loadingTime: 800,
|
loadingTime: 800,
|
||||||
originalData: true,
|
originalData: true,
|
||||||
|
@ -216,7 +216,7 @@ export default {
|
|||||||
const token = uni.getStorageSync('token');
|
const token = uni.getStorageSync('token');
|
||||||
let that = this
|
let that = this
|
||||||
uni.request({
|
uni.request({
|
||||||
url:"http://mall.dmygkeji.com/api/Specialci/getAtwillUserInfo",
|
url:"https://mall.dmygkeji.com/api/Specialci/getAtwillUserInfo",
|
||||||
data:{
|
data:{
|
||||||
userId: ID
|
userId: ID
|
||||||
},
|
},
|
||||||
|
@ -106,7 +106,7 @@ export default {
|
|||||||
sex: ''
|
sex: ''
|
||||||
},
|
},
|
||||||
// 演示地址,请勿直接使用
|
// 演示地址,请勿直接使用
|
||||||
action: 'http://mall.dmygkeji.com/storeapi/Upload/uploadFile',
|
action: 'https://mall.dmygkeji.com/storeapi/Upload/uploadFile',
|
||||||
coverformdata: {
|
coverformdata: {
|
||||||
name: 'article_cover'
|
name: 'article_cover'
|
||||||
},
|
},
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
<!-- 标签的引入 -->
|
<!-- 标签的引入 -->
|
||||||
<tap_tosign :fileListes="fileListes" @chuangjian="chuangjian" @qiehuan="qiehuan"></tap_tosign>
|
<tap_tosign :fileListes="fileListes" @chuangjian="chuangjian" @qiehuan="qiehuan"></tap_tosign>
|
||||||
<view class="titles">直播封面图</view>
|
<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>
|
||||||
<view class="button-uview">
|
<view class="button-uview">
|
||||||
<u-button :hair-line="false" @click="kaibo">{{relerest}}</u-button>
|
<u-button :hair-line="false" @click="kaibo">{{relerest}}</u-button>
|
||||||
|
@ -170,7 +170,7 @@ export default {
|
|||||||
Authorization: 'Bearer' + ' ' + uni.getStorageSync('token')
|
Authorization: 'Bearer' + ' ' + uni.getStorageSync('token')
|
||||||
},
|
},
|
||||||
// 演示地址,请勿直接使用
|
// 演示地址,请勿直接使用
|
||||||
action: 'http://mall.dmygkeji.com/storeapi/Upload/uploadFile',
|
action: 'https://mall.dmygkeji.com/storeapi/Upload/uploadFile',
|
||||||
fileListA: [],
|
fileListA: [],
|
||||||
imgarrA: [],
|
imgarrA: [],
|
||||||
videopath: '', //视频链接
|
videopath: '', //视频链接
|
||||||
|
@ -438,7 +438,7 @@
|
|||||||
this.chatroom_id = a.id
|
this.chatroom_id = a.id
|
||||||
this.live_id = a.live_id
|
this.live_id = a.live_id
|
||||||
uni.request({
|
uni.request({
|
||||||
url:"http://mall.dmygkeji.com/storeapi/Streaming/liveStreamList",
|
url:"https://mall.dmygkeji.com/storeapi/Streaming/liveStreamList",
|
||||||
method:"POST",
|
method:"POST",
|
||||||
header:{
|
header:{
|
||||||
'Authorization' : 'Bearer' + " " + token
|
'Authorization' : 'Bearer' + " " + token
|
||||||
@ -449,7 +449,7 @@
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
uni.request({
|
uni.request({
|
||||||
url:"http://mall.dmygkeji.com/storeapi/member/memberInfo",
|
url:"https://mall.dmygkeji.com/storeapi/member/memberInfo",
|
||||||
method:"POST",
|
method:"POST",
|
||||||
header:{
|
header:{
|
||||||
'Authorization' : 'Bearer' + " " + token
|
'Authorization' : 'Bearer' + " " + token
|
||||||
@ -601,7 +601,7 @@
|
|||||||
success: function (res) {
|
success: function (res) {
|
||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
uni.request({
|
uni.request({
|
||||||
url:"http://mall.dmygkeji.com/storeapi/Streaming/destroyChatRoom",
|
url:"https://mall.dmygkeji.com/storeapi/Streaming/destroyChatRoom",
|
||||||
data:{
|
data:{
|
||||||
chatroom_id:that.chatroom_id,
|
chatroom_id:that.chatroom_id,
|
||||||
live_id:that.live_id,
|
live_id:that.live_id,
|
||||||
@ -732,7 +732,7 @@
|
|||||||
console.log(arr.join(','))
|
console.log(arr.join(','))
|
||||||
let that = this
|
let that = this
|
||||||
uni.request({
|
uni.request({
|
||||||
url:"http://mall.dmygkeji.com/storeapi/Streaming/updateGoods",
|
url:"https://mall.dmygkeji.com/storeapi/Streaming/updateGoods",
|
||||||
method:"POST",
|
method:"POST",
|
||||||
data:{
|
data:{
|
||||||
goods_id:arr.join(',')
|
goods_id:arr.join(',')
|
||||||
@ -743,7 +743,7 @@
|
|||||||
success(res){
|
success(res){
|
||||||
console.log(res)
|
console.log(res)
|
||||||
uni.request({
|
uni.request({
|
||||||
url:"http://mall.dmygkeji.com//storeapi/Streaming/liveStreamList",
|
url:"https://mall.dmygkeji.com//storeapi/Streaming/liveStreamList",
|
||||||
method:"POST",
|
method:"POST",
|
||||||
header:{
|
header:{
|
||||||
'Authorization' : 'Bearer' + " " + token
|
'Authorization' : 'Bearer' + " " + token
|
||||||
|
@ -91,7 +91,7 @@ export default {
|
|||||||
console.log(JSON.stringify(res.tempFilePaths));
|
console.log(JSON.stringify(res.tempFilePaths));
|
||||||
const tempFilePaths = res.tempFilePaths;
|
const tempFilePaths = res.tempFilePaths;
|
||||||
uni.uploadFile({
|
uni.uploadFile({
|
||||||
url: 'http://mall.dmygkeji.com/storeapi/Upload/uploadFile',
|
url: 'https://mall.dmygkeji.com/storeapi/Upload/uploadFile',
|
||||||
filePath: tempFilePaths[0],
|
filePath: tempFilePaths[0],
|
||||||
name: 'avatar',
|
name: 'avatar',
|
||||||
formData:{
|
formData:{
|
||||||
|
@ -105,7 +105,7 @@ IMService.prototype.initialContacts = function (friendList) {
|
|||||||
const token = uni.getStorageSync('token');
|
const token = uni.getStorageSync('token');
|
||||||
console.log(token)
|
console.log(token)
|
||||||
uni.request({
|
uni.request({
|
||||||
url:"http://mall.dmygkeji.com/api/Specialci/getAtwillUserInfo",
|
url:"https://mall.dmygkeji.com/api/Specialci/getAtwillUserInfo",
|
||||||
data:{
|
data:{
|
||||||
userId:i[0]
|
userId:i[0]
|
||||||
},
|
},
|
||||||
@ -282,7 +282,7 @@ IMService.prototype.initialIMListeners = function () {
|
|||||||
const token = uni.getStorageSync('token');
|
const token = uni.getStorageSync('token');
|
||||||
console.log(token)
|
console.log(token)
|
||||||
uni.request({
|
uni.request({
|
||||||
url:"http://mall.dmygkeji.com/api/Specialci/getAtwillUserInfo",
|
url:"https://mall.dmygkeji.com/api/Specialci/getAtwillUserInfo",
|
||||||
data:{
|
data:{
|
||||||
userId:message.senderId
|
userId:message.senderId
|
||||||
},
|
},
|
||||||
@ -410,7 +410,7 @@ IMService.prototype.sendMessagesSetStorage = function (friendId,message){
|
|||||||
const token = uni.getStorageSync('token');
|
const token = uni.getStorageSync('token');
|
||||||
console.log(token)
|
console.log(token)
|
||||||
uni.request({
|
uni.request({
|
||||||
url:"http://mall.dmygkeji.com/api/Specialci/getAtwillUserInfo",
|
url:"https://mall.dmygkeji.com/api/Specialci/getAtwillUserInfo",
|
||||||
data:{
|
data:{
|
||||||
userId:friendId
|
userId:friendId
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user