替换域名

This commit is contained in:
luyuan 2020-08-18 15:29:52 +08:00
parent 5291d70c6c
commit 9c388e898c
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3
7 changed files with 15 additions and 15 deletions

View File

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

View File

@ -134,7 +134,7 @@
// //
following(id) { following(id) {
uni.request({ uni.request({
url: "http://mall.dmygkeji.com/api/member/attentionMember", url: "https://mall.dmygkeji.com/api/member/attentionMember",
method: "POST", method: "POST",
data: { data: {
member_id: id member_id: id
@ -163,7 +163,7 @@
likeType(id) { likeType(id) {
// console.log(id); // console.log(id);
uni.request({ uni.request({
url: "http://mall.dmygkeji.com/api/article/articleLike", url: "https://mall.dmygkeji.com/api/article/articleLike",
method: "POST", method: "POST",
data: { data: {
article_id: id article_id: id
@ -194,7 +194,7 @@
// //
collecting(id) { collecting(id) {
uni.request({ uni.request({
url: "http://mall.dmygkeji.com/api/article/articleCollect", url: "https://mall.dmygkeji.com/api/article/articleCollect",
method: "POST", method: "POST",
data: { data: {
article_id: id article_id: id

View File

@ -133,7 +133,7 @@
<script> <script>
import userinfo from "../components/userinfo/index" // 点赞组件 import userinfo from "../components/userinfo/index" // 点赞组件
const temp_url = "http://mall.dmygkeji.com/api/"; const temp_url = "https://mall.dmygkeji.com/api/";
export default { export default {
components: { components: {
userinfo userinfo

View File

@ -14,7 +14,7 @@
export default { export default {
data() { data() {
return { return {
src: 'http://mall.dmygkeji.com/uploads/home/avatar/avatar_19.jpg', src: 'https://mall.dmygkeji.com/uploads/home/avatar/avatar_19.jpg',
userList: [], userList: [],
} }
}, },

View File

@ -125,7 +125,7 @@
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: 1 userId: 1
}, },

View File

@ -370,7 +370,7 @@ export default {
const token = uni.getStorageSync('token'); const token = uni.getStorageSync('token');
console.log(token,that.id) console.log(token,that.id)
uni.request({ uni.request({
url:"http://mall.dmygkeji.com/api/Specialci/goodsShelves", url:"https://mall.dmygkeji.com/api/Specialci/goodsShelves",
data:{ data:{
live_id:that.id live_id:that.id
}, },
@ -385,7 +385,7 @@ export default {
}) })
setInterval(function(){ setInterval(function(){
uni.request({ uni.request({
url:"http://mall.dmygkeji.com/api/Specialci/goodsShelves", url:"https://mall.dmygkeji.com/api/Specialci/goodsShelves",
data:{ data:{
live_id:that.id live_id:that.id
}, },
@ -403,7 +403,7 @@ export default {
},10 * 1000) },10 * 1000)
uni.request({ uni.request({
url:"http://mall.dmygkeji.com/api/Specialci/livingUserInfo", url:"https://mall.dmygkeji.com/api/Specialci/livingUserInfo",
data:{ data:{
live_id:that.id live_id:that.id
}, },
@ -501,7 +501,7 @@ export default {
let that = this let that = this
console.log(token) console.log(token)
uni.request({ uni.request({
url:"http://mall.dmygkeji.com/api/member/attentionMember", url:"https://mall.dmygkeji.com/api/member/attentionMember",
data:{ data:{
member_id:that.info.user_id member_id:that.info.user_id
}, },
@ -512,7 +512,7 @@ export default {
success(res){ success(res){
console.log(res) console.log(res)
uni.request({ uni.request({
url:"http://mall.dmygkeji.com/api/Specialci/livingUserInfo", url:"https://mall.dmygkeji.com/api/Specialci/livingUserInfo",
data:{ data:{
live_id:that.id live_id:that.id
}, },

View File

@ -108,7 +108,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],
markup:1 markup:1
@ -289,7 +289,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,
markup:1 markup:1
@ -532,7 +532,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,
markup:1 markup:1