Compare commits

...

2 Commits

Author SHA1 Message Date
曹磊 09c0fcf0d3 将固定地址改为全局变量 2024-06-04 15:29:42 +08:00
曹磊 c3320d806b 后台首次运行时报错问题处理 2024-06-04 11:15:06 +08:00
43 changed files with 279 additions and 234 deletions

View File

@ -5,6 +5,8 @@
const path = require('path')
const devEnv = require('./dev.env')
import { serverPaths } from '@/utils/enumData'
module.exports = {
dev: {
@ -14,9 +16,7 @@ module.exports = {
// 代理列表, 是否开启代理通过[./dev.env.js]配置
proxyTable: devEnv.OPEN_PROXY === false ? {} : {
'/proxyApi': {
// target: 'http://192.168.0.109:8187/sqx_fast/',
// target: 'http://192.168.1.168:8187/sqx_fast/',
target: 'https://admin.sjajk.com/sqx_fast/',
target: this.serverPaths.serverUrl,
changeOrigin: true,
pathRewrite: {
'^/proxyApi': ''

View File

@ -12,6 +12,7 @@ import { isAuth } from '@/utils'
import cloneDeep from 'lodash/cloneDeep'
import BaiduMap from 'vue-baidu-map'
import { VueJsonp } from 'vue-jsonp'
import { serverPaths } from '@/utils/enumData'
Vue.use(VueJsonp)

View File

@ -0,0 +1,9 @@
import Vue from 'vue'
export const serverPaths = {
// serverUrl : "https://admin.sjajk.com/sqx_fast/",//生产需替换
serverUrl : "http://192.168.2.222:8187/sqx_fast/",
uploadUrl : this.serverUrl + "alioss/upload",
uploadWatermarkUrl : this.serverUrl + "alioss/uploadWatermark",
uploadMusicUrl : this.serverUrl + "alioss/uploadMusic",
}

View File

@ -7,6 +7,8 @@ import {
clearLoginInfo
} from '@/utils'
import { serverPaths } from '@/utils/enumData'
const http = axios.create({
timeout: 1000 * 30,
// withCredentials: true,
@ -45,20 +47,7 @@ http.interceptors.response.use(response => {
* @param {*} actionName action方法名称
*/
http.adornUrl = (actionName) => {
// 非生产环境 && 开启代理, 接口前缀统一使用[/proxyApi/]前缀做代理拦截!
// return (process.env.NODE_ENV !== 'production' && process.env.OPEN_PROXY ? '/proxyApi/' : window.SITE_CONFIG.baseUrl) + actionName
// return 'http://192.168.0.109:8187/sqx_fast/' + actionName
//return 'http://127.0.0.1:8187/sqx_fast/' + actionName
//生产环境
return 'https://admin.sjajk.com/sqx_fast/' + actionName
//测试环境
// return "http://192.168.1.169:8187/sqx_fast/" + actionName;
//客户地址
// return "http://192.168.110.85:8187/sqx_fast/" + actionName;
// 后台本地韩玉东
// return "http://192.168.1.50:8187/sqx_fast/" + actionName;
//后台本地张聪
// return "http://192.168.1.48:8187/sqx_fast/" + actionName;
return this.serverPaths.serverUrl + actionName;
}
http.adornWss = (actionName) => {

View File

@ -403,10 +403,10 @@
</el-table-column>
<el-table-column prop="value" label="内容">
<template slot-scope="scope">
<audio v-if="scope.row.value!=''&&scope.row.value!=null"
:src="scope.row.value" type="audio/wav" controls="controls"></audio>
<span v-else>暂无语音</span>
</template>
</el-table-column>
@ -436,7 +436,7 @@
<div v-else-if="form.conditionFrom == 'image'"
style=" width:148px;height:148px;border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 148px;">
<el-upload class="avatar-uploader" v-model="form.value"
action="https://admin.sjajk.com/sqx_fast/alioss/upload" :show-file-list="false"
:action="uploadUrl" :show-file-list="false"
:on-success="handleAvatarSuccess">
<img v-if="form.value" :src="form.value" class="avatar"
style="border-radius: 6px;width: 140px;height: 140px;" />
@ -445,7 +445,7 @@
</div>
<div v-else-if="form.conditionFrom == 'yuyin'">
<el-upload class="upload-demo" v-model="form.value"
action="https://admin.sjajk.com/sqx_fast/alioss/uploadMusic" :show-file-list="false"
:action="uploadMusicUrl" :show-file-list="false"
:on-success="handleSuccess" :before-upload="beforeAvatarUpload"
:on-progress="handlePreview">
<el-button size="small" type="primary" v-loading="tableDataLoading6">点击上传</el-button>
@ -559,6 +559,8 @@ export default {
}
}
return {
uploadUrl: this.serverPaths.uploadUrl,
uploadMusicUrl: this.serverPaths.uploadMusicUrl,
openValue: '是',
closeValue: '否',
limit: 10,

View File

@ -441,7 +441,7 @@
<el-upload
class="avatar-uploader"
v-model="headImg"
action="https://admin.sjajk.com/sqx_fast/alioss/upload"
:action="uploadUrl"
:show-file-list="false"
:on-success="handleAvatarSuccess5"
:on-progress="onprogress"
@ -481,7 +481,7 @@
</div>
<div class="imgs" style="width: 50%">
<el-upload
action="https://admin.sjajk.com/sqx_fast/alioss/uploadWatermark"
:action="uploadWatermarkUrl"
list-type="picture-card"
:show-file-list="false"
:on-success="handleUploadSuccess1"
@ -511,7 +511,7 @@
</div>
<div class="imgs" style="width: 50%">
<el-upload
action="https://admin.sjajk.com/sqx_fast/alioss/upload"
:action="uploadUrl"
list-type="picture-card"
:show-file-list="false"
:on-success="handleUploadSuccess2"
@ -541,7 +541,7 @@
</div>
<div class="imgs" style="width: 50%">
<el-upload
action="https://admin.sjajk.com/sqx_fast/alioss/upload"
:action="uploadUrl"
list-type="picture-card"
:show-file-list="false"
:on-success="handleUploadSuccess3"
@ -1080,7 +1080,7 @@
<el-upload
class="avatar-uploader"
v-model="massageImg"
action="https://admin.sjajk.com/sqx_fast/alioss/upload"
:action="uploadUrl"
:show-file-list="false"
:on-success="handleAvatarSuccess1"
:on-progress="onprogress2"
@ -1110,7 +1110,7 @@
</div>
<div class="imgs" style="width: 50%">
<el-upload
action="https://admin.sjajk.com/sqx_fast/alioss/upload"
:action="uploadUrl"
list-type="picture-card"
:show-file-list="false"
:on-success="handleUploadSuccess3"
@ -1763,6 +1763,8 @@ export default {
}
};
return {
uploadUrl: this.serverPaths.uploadUrl,
uploadWatermarkUrl: this.serverPaths.uploadWatermarkUrl,
ruleForm: {
materialPackageCount: null,
materialPackageCountType: null,

View File

@ -240,7 +240,7 @@
<span style="width: 200px;display: inline-block;text-align: right;">头像</span>
<div style="display: inline-block;">
<el-upload class="avatar-uploader" v-model="avatar"
action="https://admin.sjajk.com/sqx_fast/alioss/upload" :show-file-list="false"
:action="uploadUrl" :show-file-list="false"
:on-success="handleAvatarSuccess5">
<img v-if="avatar" :src="avatar" class="avatar" style="width: 148px;height: 148px;" />
<i v-else class="el-icon-plus avatar-uploader-icon"
@ -252,7 +252,7 @@
<span style="width: 200px;display: inline-block;text-align: right;">身份证正面图</span>
<div style="display: inline-block;">
<el-upload class="avatar-uploader" v-model="front"
action="https://admin.sjajk.com/sqx_fast/alioss/upload" :show-file-list="false"
:action="uploadUrl" :show-file-list="false"
:on-success="handleAvatarSuccess1">
<img v-if="front" :src="front" class="avatar" style="width: 148px;height: 148px;" />
<i v-else class="el-icon-plus avatar-uploader-icon"
@ -264,7 +264,7 @@
<span style="width: 200px;display: inline-block;text-align: right;">身份证反面图</span>
<div style="display: inline-block;">
<el-upload class="avatar-uploader" v-model="back"
action="https://admin.sjajk.com/sqx_fast/alioss/upload" :show-file-list="false"
:action="uploadUrl" :show-file-list="false"
:on-success="handleAvatarSuccess2">
<img v-if="back" :src="back" class="avatar" style="width: 148px;height: 148px;" />
<i v-else class="el-icon-plus avatar-uploader-icon"
@ -281,7 +281,7 @@
</span>
</div>
<div class="imgs" style="width: 50%;">
<el-upload action="https://admin.sjajk.com/sqx_fast/alioss/uploadWatermark"
<el-upload :action="uploadWatermarkUrl"
list-type="picture-card" :show-file-list="false" :on-success="handleUploadSuccess3"
:on-progress="onprogress1">
<el-progress v-if="percentage1>0 && percentage1<100" type="circle"
@ -299,7 +299,7 @@
</span>
</div>
<div class="imgs" style="width: 50%;">
<el-upload action="https://admin.sjajk.com/sqx_fast/alioss/upload" list-type="picture-card"
<el-upload :action="uploadUrl" list-type="picture-card"
:show-file-list="false" :on-success="handleUploadSuccess4" :on-progress="onprogress1">
<el-progress v-if="percentage1>0 && percentage1<100" type="circle"
:percentage="percentage1"></el-progress>
@ -322,6 +322,8 @@
export default {
data() {
return {
uploadUrl: this.serverPaths.uploadUrl,
uploadWatermarkUrl: this.serverPaths.uploadWatermarkUrl,
limit: 10,
page: 1,
content: '',

View File

@ -51,7 +51,7 @@
<div
style=" width:148px;height:148px;border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 148px;">
<el-upload class="avatar-uploader" v-model="imageUrl"
action="https://admin.sjajk.com/sqx_fast/alioss/upload" :show-file-list="false"
:action="uploadUrl" :show-file-list="false"
:on-success="handleAvatarSuccess">
<img v-if="imageUrl" :src="imageUrl" class="avatar"
style="border-radius: 6px;width: 148px;height: 148px;" />
@ -133,7 +133,7 @@
<div
style=" width:148px;height:148px;border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 148px;">
<el-upload class="avatar-uploader" v-model="imageUrl"
action="https://admin.sjajk.com/sqx_fast/alioss/upload" :show-file-list="false"
:action="uploadUrl" :show-file-list="false"
:on-success="handleAvatarSuccess">
<img v-if="imageUrl" :src="imageUrl" class="avatar"
style="border-radius: 6px;width: 148px;height: 148px;" />
@ -373,7 +373,7 @@
layout="total,sizes, prev, pager, next,jumper" :total="tableData.totalCount">
</el-pagination>
</div>
</el-tab-pane>
<el-tab-pane label="技师邀请海报" name="fourthlyJs">
<div style="float: right;margin-right:2%;">
@ -427,7 +427,7 @@
layout="total,sizes, prev, pager, next,jumper" :total="tableData.totalCount">
</el-pagination>
</div>
</el-tab-pane>
<!-- 添加弹框 -->
<el-dialog title="添加" :visible.sync="dialogFormVisible5" center>
@ -436,7 +436,7 @@
<div
style=" width:148px;height:148px;border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 148px;">
<el-upload class="avatar-uploader" v-model="imageUrl"
action="https://admin.sjajk.com/sqx_fast/alioss/upload" :show-file-list="false"
:action="uploadUrl" :show-file-list="false"
:on-success="handleAvatarSuccess">
<img v-if="imageUrl" :src="imageUrl" class="avatar"
style="border-radius: 6px;width: 148px;height: 148px;" />
@ -468,7 +468,7 @@
<div
style=" width:148px;height:148px;border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 148px;">
<el-upload class="avatar-uploader" v-model="imageUrl"
action="https://admin.sjajk.com/sqx_fast/alioss/upload" :show-file-list="false"
:action="uploadUrl" :show-file-list="false"
:on-success="handleAvatarSuccess2">
<img v-if="form.imageUrl" :src="form.imageUrl" class="avatar"
style="border-radius: 6px;width: 148px;height: 148px;" />
@ -498,6 +498,7 @@
export default {
data() {
return {
uploadUrl: this.serverPaths.uploadUrl,
page: 1,
limit: 5,
classify: 1,
@ -609,7 +610,7 @@
this.classify = 6
this.dataSelect()
}
if (tab._props.label == '精选商品') {
this.page = 1
this.limit = 5

View File

@ -19,7 +19,7 @@
v-model="phoneT">
</el-input>&nbsp;&nbsp;&nbsp;&nbsp;
</div>
<el-button style='margin-left:15px;' size="mini" type="primary" icon="document" @click="refresh">刷新
</el-button>
<el-button style='margin-left:15px;' size="mini" type="primary" icon="document" @click="chognzhi">重置
@ -36,7 +36,7 @@
@click="updates(scope.row)">{{ scope.row.userName ? scope.row.userName : '未设置' }}</span>
</template>
</el-table-column>
<el-table-column prop="phone" label="手机号" width="150">
</el-table-column>
<el-table-column prop="consortiaName" label="商家名称" fixed="left">
@ -70,7 +70,7 @@
</el-popover>
</div>
</div>
</template>
</el-table-column>
<el-table-column prop="qualificationCertificate" label="资质证书" width="150">
@ -84,7 +84,7 @@
</el-popover>
</div>
</div>
</template>
</el-table-column>
<el-table-column prop="address" label="详细地址">
@ -137,7 +137,7 @@
<span style="width: 200px;display: inline-block;text-align: right;">商家名称</span>
<el-input style="width:50%;" v-model="consortiaName" placeholder="请输入商家名称"></el-input>
</div>
<div style="margin-bottom: 10px;">
<span style="width: 200px;display: inline-block;text-align: right;">商家抽成比例</span>
<el-input style="width:50%;" v-model="rate" type="number" :min="0" placeholder="请输入商家抽成比例,例如:0.1为10%">
@ -168,7 +168,7 @@
<span style="width: 200px;display: inline-block;text-align: right;">商家头像</span>
<div style="display: inline-block;width:148px;height:148px;border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 148px;">
<el-upload class="avatar-uploader" v-model="logo"
action="https://admin.sjajk.com/sqx_fast/alioss/upload" :show-file-list="false"
:action="uploadUrl" :show-file-list="false"
:on-success="handleAvatarSuccess1">
<img v-if="logo" :src="logo" class="avatar"
style="width: 148px;height: 148px;" />
@ -185,7 +185,7 @@
</span>
</div>
<div class="imgs" style="width: 50%;">
<el-upload action="https://admin.sjajk.com/sqx_fast/alioss/uploadWatermark"
<el-upload :action="uploadWatermarkUrl"
list-type="picture-card" :show-file-list="false" :on-success="handleUploadSuccess3"
:on-progress="onprogress1">
<el-progress v-if="percentage1>0 && percentage1<100" type="circle"
@ -203,7 +203,7 @@
</span>
</div>
<div class="imgs" style="width: 50%;">
<el-upload action="https://admin.sjajk.com/sqx_fast/alioss/uploadWatermark"
<el-upload :action="uploadWatermarkUrl"
list-type="picture-card" :show-file-list="false" :on-success="handleUploadSuccess4"
:on-progress="onprogress2">
<el-progress v-if="percentage2>0 && percentage2<100" type="circle"
@ -212,7 +212,7 @@
</el-upload>
</div>
</div>
<div slot="footer" class="dialog-footer">
<el-button @click="dialogFormVisible = false"> </el-button>
<el-button type="primary" @click="couponNoticeTo()"> </el-button>
@ -229,7 +229,7 @@
<span style="width: 200px;display: inline-block;text-align: right;">商家名称</span>
<el-input style="width:50%;" v-model="consortiaName" placeholder="请输入商家名称"></el-input>
</div>
<div style="margin-bottom: 10px;">
<span style="width: 200px;display: inline-block;text-align: right;">商家抽成比例</span>
<el-input style="width:50%;" v-model="rate" type="number" :min="0" placeholder="请输入商家抽成比例,例如:0.1为10%">
@ -260,7 +260,7 @@
<span style="width: 200px;display: inline-block;text-align: right;">商家头像</span>
<div style="display: inline-block;width: 148px;height: 148px;border: 1px dashed #c0ccda;">
<el-upload class="avatar-uploader" v-model="logo"
action="https://admin.sjajk.com/sqx_fast/alioss/upload" :show-file-list="false"
:action="uploadUrl" :show-file-list="false"
:on-success="handleAvatarSuccess1" style="text-align: center;">
<img v-if="logo" :src="logo" class="avatar"
style="width: 148px;height: 148px;" />
@ -277,7 +277,7 @@
</span>
</div>
<div class="imgs" style="width: 50%;">
<el-upload action="https://admin.sjajk.com/sqx_fast/alioss/uploadWatermark"
<el-upload :action="uploadWatermarkUrl"
list-type="picture-card" :show-file-list="false" :on-success="handleUploadSuccess3"
:on-progress="onprogress1">
<el-progress v-if="percentage1>0 && percentage1<100" type="circle"
@ -295,7 +295,7 @@
</span>
</div>
<div class="imgs" style="width: 50%;">
<el-upload action="https://admin.sjajk.com/sqx_fast/alioss/uploadWatermark"
<el-upload :action="uploadWatermarkUrl"
list-type="picture-card" :show-file-list="false" :on-success="handleUploadSuccess4"
:on-progress="onprogress2">
<el-progress v-if="percentage2>0 && percentage2<100" type="circle"
@ -309,9 +309,9 @@
<el-button type="primary" @click="amendNoticeTo()"> </el-button>
</div>
</el-dialog>
<!-- 用户列表 -->
<el-dialog title="用户列表" :visible.sync="dialogFormVisible5" center width="70%">
<!-- <div style="margin:5px;display: inline-block;">
@ -345,7 +345,7 @@
<el-button style="margin-left:15px;" size="mini" type="primary" icon="document" @click="cleans1">重置
</el-button>
</div>
<el-table v-loading="tableDataLoading1" :data="userData.list">
<el-table-column prop="userId" label="id" width="80">
</el-table-column>
@ -391,7 +391,7 @@
icon="document" @click="closes3(scope.row)" :disabled="!isAuth('userList:updatejb')">解绑</el-button>
</template>
</el-table-column>
</el-table>
<div style="text-align: center;margin-top: 10px;">
<el-pagination @size-change="handleSizeChange2" @current-change="handleCurrentChange2"
@ -456,7 +456,7 @@
icon="document" @click="closes3(scope.row)">移除</el-button>
</template>
</el-table-column>
</el-table>
<div style="text-align: center;margin-top: 10px;">
<el-pagination @size-change="handleSizeChange1" @current-change="handleCurrentChange1"
@ -465,8 +465,8 @@
</el-pagination>
</div>
</el-dialog>
</div>
</template>
@ -474,6 +474,8 @@
export default {
data() {
return {
uploadUrl: this.serverPaths.uploadUrl,
uploadWatermarkUrl: this.serverPaths.uploadWatermarkUrl,
size: 10,
page: 1,
size1: 10,
@ -536,7 +538,7 @@
userData: [],
types: '',
phoneU:'',
nickName: '',
member: '',
memberList: [{
@ -553,14 +555,14 @@
},
],
inviterCode: '',
consortiaNameT:'',
userNameT:'',
phoneT:'',
userNameS:'',
phoneS:'',
indexUser:1,
percentage1: 0,
percentage2: 0,
certification:[],
@ -658,7 +660,7 @@
});
return
}
if (this.consortiaContent == '') {
this.$notify({
title: '提示',
@ -749,7 +751,7 @@
});
return
}
this.$http({
url: this.$http.adornUrl('consortia/insertConsortia'),
method: 'post',
@ -788,7 +790,7 @@
}
})
}
})
},
//
@ -819,8 +821,8 @@
}else{
this.businessLicense = []
}
},
amendNoticeTo() {
if (this.userId == '') {
@ -841,7 +843,7 @@
});
return
}
if (this.consortiaContent == '') {
this.$notify({
title: '提示',
@ -971,10 +973,10 @@
}
})
}
})
},
//
shopdeletes(row) {
this.$confirm(`确定删除此条信息?`, '提示', {
@ -1041,7 +1043,7 @@
}else{
var userType = 2
}
if (this.phoneU) {
phone = this.phoneU
}
@ -1062,7 +1064,7 @@
'ordersUser':'',
'invitationCode':'',
'isAgency':''
})
}).then(({
data
@ -1177,7 +1179,7 @@
onClose: () => {
this.dialogFormVisible5 = false
this.shopSelect()
}
})
} else {
@ -1263,9 +1265,9 @@
},
//
jiebang(row){
}
},
mounted() {
this.dataSelect()

View File

@ -77,7 +77,7 @@
<div
style=" width:148px;height:148px;background-color: #fbfdff; border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 148px;display: inline-block;">
<el-upload class="avatar-uploader" v-model="couponPicture"
action="https://admin.sjajk.com/sqx_fast/alioss/upload" :show-file-list="false"
:action="uploadUrl" :show-file-list="false"
:on-success="handleAvatarSuccess1">
<img v-if="couponPicture" :src="couponPicture" class="avatar" style="width: 148px;height: 148px;" />
<i v-else class="el-icon-plus avatar-uploader-icon"
@ -126,7 +126,7 @@
<div
style=" width:148px;height:148px;background-color: #fbfdff; border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 148px;display: inline-block;">
<el-upload class="avatar-uploader" v-model="form.couponPicture"
action="https://admin.sjajk.com/sqx_fast/alioss/upload" :show-file-list="false"
:action="uploadUrl" :show-file-list="false"
:on-success="handleAvatarSuccess2">
<img v-if="form.couponPicture" :src="form.couponPicture" class="avatar" style="width: 148px;height: 148px;" />
<i v-else class="el-icon-plus avatar-uploader-icon"
@ -134,8 +134,8 @@
</el-upload>
</div>
</el-form-item>
<el-form-item label="优惠券面值:" :label-width="formLabelWidth">
<el-input v-model="form.money" style="width:65%;" placeholder="请输入优惠券面值"></el-input>
</el-form-item>
@ -399,6 +399,7 @@
export default {
data() {
return {
uploadUrl: this.serverPaths.uploadUrl,
size: 10,
page: 1,
size1: 10,
@ -547,7 +548,7 @@
});
return
}
if (this.minMoney < this.money) {
this.$notify({
title: '提示',
@ -598,7 +599,7 @@
}
})
}
})
},
//
@ -666,7 +667,7 @@
}
})
}
})
},
//

View File

@ -113,7 +113,7 @@
height="40">
</template>
</el-table-column>
<el-table-column prop="payNotice" label="购买须知" width="300">
<template slot-scope="scope">
<div
@ -172,7 +172,7 @@
<div
style=" width:148px;height:148px;background-color: #fbfdff; border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 148px;display: inline-block;">
<el-upload class="avatar-uploader" v-model="form.couponIssueImage"
action="https://admin.sjajk.com/sqx_fast/alioss/upload" :show-file-list="false"
:action="uploadUrl" :show-file-list="false"
:on-success="handleAvatarSuccess2">
<img v-if="form.couponIssueImage" :src="form.couponIssueImage" class="avatar"
style="width: 148px;height: 148px;" />
@ -185,7 +185,7 @@
<div
style=" width:148px;height:148px;background-color: #fbfdff; border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 148px;display: inline-block;">
<el-upload class="avatar-uploader" v-model="form.couponContentImage"
action="https://admin.sjajk.com/sqx_fast/alioss/upload" :show-file-list="false"
:action="uploadUrl" :show-file-list="false"
:on-success="handleUploadSuccess">
<img v-if="form.couponContentImage" :src="form.couponContentImage" class="avatar"
style="width: 148px;height: 148px;" />
@ -199,9 +199,9 @@
<i class="el-icon-delete" @click="clear(index)"></i>
</span>
</div>
<div class="imgs" style="">
<el-upload action="https://admin.sjajk.com/sqx_fast/alioss/upload"
<el-upload :action="uploadUrl"
list-type="picture-card" :show-file-list="false" :on-success="handleUploadSuccess"
:on-progress="onprogress1">
<el-progress v-if="percentage1>0 && percentage1<100" type="circle"
@ -220,12 +220,12 @@
<el-form-item label="券包原价价格:" :label-width="formLabelWidth" v-if="classify==2">
<el-input v-model="form.originalPrice" style="width:65%;" placeholder="请输入券包原价价格"></el-input>
</el-form-item>
<el-form-item label="券包价格/价值:" :label-width="formLabelWidth">
<el-input v-model="form.price" style="width:65%;" placeholder="请输入券包价格/价值"></el-input>
</el-form-item>
<el-form-item label="状态:" :label-width="formLabelWidth">
<el-radio-group v-model="form.status">
<el-radio :label="1">开启</el-radio>
@ -327,6 +327,7 @@
},
data() {
return {
uploadUrl: this.serverPaths.uploadUrl,
size: 10,
page: 1,
form: {
@ -471,8 +472,8 @@
this.form.status = row.status
this.form.createTime = row.createTime
this.form.couponContentImage = row.couponContentImage
} else {
this.titles = '添加'
this.form.couponId = ''
@ -606,7 +607,7 @@
return
}
}
if (this.titles == '添加') {
var url = 'couponIssue/insertCouponIssue'
} else {
@ -757,12 +758,12 @@
text-align: center;
border: 1px dotted rgba(67, 79, 103, .4);
}
.cards {
padding: 0 8px;
margin-bottom: 15px;
}
.adver_main.box a {
display: flex;
justify-content: center;
@ -770,7 +771,7 @@
line-height: 150px;
text-decoration: none
}
.bannerManin {
border: 1px solid #e8e8e8;
font-size: 14px;
@ -781,18 +782,18 @@
height: 113px;
color: rgba(0, 0, 0, .65);
}
.bannerManin span {
display: inline-block;
margin-left: 5px;
}
.bannerManin img {
width: 48px;
height: 48px;
border-radius: 50%;
}
.bannerbtn {
display: flex;
border-top: none !important;
@ -801,14 +802,14 @@
font-size: 14px;
color: #3E8EF7;
}
.bannerbtn a {
flex: 1;
text-align: center;
color: #3E8EF7 !important;
text-decoration: none;
}
.imgs {
position: relative;
border-radius: 6px;
@ -817,21 +818,21 @@
margin-right: 10px;
display: inline-block;
}
.dels {
position: absolute;
top: 0;
left: 0;
display: none;
}
.dels .el-icon-delete {
line-height: 148px;
padding-left: 58px;
font-size: 25px;
color: #fff;
}
.imgs:hover .dels {
width: 100%;
height: 100%;

View File

@ -55,7 +55,7 @@
<div
style=" width:148px;height:148px;border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 148px;">
<el-upload class="avatar-uploader" v-model="memberImg"
action="https://admin.sjajk.com/sqx_fast/alioss/upload" :show-file-list="false"
:action="uploadUrl" :show-file-list="false"
:on-success="handleAvatarSuccess">
<img v-if="memberImg" :src="memberImg" class="avatar"
style="border-radius: 6px;width: 148px;height: 148px;" />
@ -102,6 +102,7 @@
info2: {
stockDate2: this.getNowTime2(), //
},
uploadUrl: this.serverPaths.uploadUrl
}
},
methods: {

View File

@ -442,7 +442,7 @@
<el-upload
class="avatar-uploader"
v-model="headImg"
action="https://admin.sjajk.com/sqx_fast/alioss/upload"
:action="uploadUrl"
:show-file-list="false"
:on-success="handleAvatarSuccess5"
:on-progress="onprogress"
@ -482,7 +482,7 @@
</div>
<div class="imgs" style="width: 50%">
<el-upload
action="https://admin.sjajk.com/sqx_fast/alioss/uploadWatermark"
:action="uploadWatermarkUrl"
list-type="picture-card"
:show-file-list="false"
:on-success="handleUploadSuccess1"
@ -512,7 +512,7 @@
</div>
<div class="imgs" style="width: 50%">
<el-upload
action="https://admin.sjajk.com/sqx_fast/alioss/upload"
:action="uploadUrl"
list-type="picture-card"
:show-file-list="false"
:on-success="handleUploadSuccess2"
@ -542,7 +542,7 @@
</div>
<div class="imgs" style="width: 50%">
<el-upload
action="https://admin.sjajk.com/sqx_fast/alioss/upload"
:action="uploadUrl"
list-type="picture-card"
:show-file-list="false"
:on-success="handleUploadSuccess3"
@ -944,7 +944,7 @@
<el-upload
class="avatar-uploader"
v-model="massageImg"
action="https://admin.sjajk.com/sqx_fast/alioss/upload"
:action="uploadUrl"
:show-file-list="false"
:on-success="handleAvatarSuccess1"
:on-progress="onprogress2"
@ -974,7 +974,7 @@
</div>
<div class="imgs" style="width: 50%">
<el-upload
action="https://admin.sjajk.com/sqx_fast/alioss/upload"
:action="uploadUrl"
list-type="picture-card"
:show-file-list="false"
:on-success="handleUploadSuccess3"
@ -1494,7 +1494,7 @@
<el-upload
class="avatar-uploader"
v-model="massageImg"
action="https://admin.sjajk.com/sqx_fast/alioss/upload"
:action="uploadUrl"
:show-file-list="false"
:on-success="handleAvatarSuccess1"
:on-progress="onprogress2"
@ -1973,6 +1973,8 @@ export default {
},
data() {
return {
uploadUrl: this.serverPaths.uploadUrl,
uploadWatermarkUrl: this.serverPaths.uploadWatermarkUrl,
clockData: [], //
clockTitle: "", //
isShowAddConsume: false,

View File

@ -19,7 +19,7 @@
@click = "advertUpdates(scope.row)">修改</el-button>
<el-button size = "mini" type = "danger" :disabled = "!isAuth('materialLink:delete')"
@click = "advertdeletes(scope.row)">删除</el-button>
</template>
</template>
</el-table-column>
</el-table>
<!-- 添加素材 -->
@ -27,7 +27,7 @@
<div style = "margin-bottom: 10px;display: flex;">
<span style = "width: 200px;display: inline-block;text-align: right;">素材图片</span>
<div style = " width:148px;height:148px;border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 148px;">
<el-upload class = "avatar-uploader" v-model = "imgUrl" action = "https://admin.sjajk.com/sqx_fast/alioss/upload"
<el-upload class = "avatar-uploader" v-model = "imgUrl" :action="uploadUrl"
:show-file-list = "false" :on-success = "handleAvatarSuccess">
<img v-if = "imgUrl" :src = "imgUrl" class = "avatar" style = "border-radius: 6px;width:148px;height: 148px;"/>
<i v-else class = "el-icon-plus avatar-uploader-icon"></i>
@ -48,7 +48,7 @@
<el-form :model = "form">
<el-form-item label = "素材图片:" :label-width = "formLabelWidth">
<div style = " width:148px;height:148px;border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height:148px;">
<el-upload class = "avatar-uploader" v-model = "form.imgUrl" action = "https://admin.sjajk.com/sqx_fast/alioss/upload"
<el-upload class = "avatar-uploader" v-model = "form.imgUrl" :action="uploadUrl"
:show-file-list = "false" :on-success = "handleAvatarSuccess1">
<img v-if = "form.imgUrl" :src = "form.imgUrl" class = "avatar" style = "border-radius: 6px;width:148px;height: 148px;"/>
<i v-else class = "el-icon-plus avatar-uploader-icon"></i>
@ -71,6 +71,7 @@
export default {
data () {
return {
uploadUrl: this.serverPaths.uploadUrl,
imgUrl: '',
linkUrl: '',
type: 3,

View File

@ -1,6 +1,6 @@
/*富文本编辑图片上传配置*/
const uploadConfig = {
action: 'https://admin.sjajk.com/sqx_fast/alioss/upload', // 必填参数 图片上传地址
action: this.serverPaths.uploadUrl, // 必填参数 图片上传地址
methods: 'POST', // 必填参数 图片上传方式
token: '', // 可选参数 如果需要token验证假设你的token有存放在sessionStorage
name: 'file', // 必填参数 文件的参数名

View File

@ -1,6 +1,6 @@
/*富文本编辑图片上传配置*/
const uploadConfig = {
action: 'https://admin.sjajk.com/sqx_fast/alioss/upload', // 必填参数 图片上传地址
action: this.serverPaths.uploadUrl, // 必填参数 图片上传地址
methods: 'POST', // 必填参数 图片上传方式
token: '', // 可选参数 如果需要token验证假设你的token有存放在sessionStorage
name: 'file', // 必填参数 文件的参数名

View File

@ -185,7 +185,7 @@
<div
style=" width:148px;height:148px;border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 148px;">
<el-upload class="avatar-uploader" v-model="classifyIcon"
action="https://admin.sjajk.com/sqx_fast/alioss/upload" :show-file-list="false"
:action="uploadUrl" :show-file-list="false"
:on-success="handleAvatarSuccess">
<img v-if="classifyIcon" :src="classifyIcon" class="avatar"
style="border-radius: 6px;width: 148px;height: 148px;" />
@ -214,7 +214,7 @@
<div
style=" width:148px;height:148px;border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 148px;">
<el-upload class="avatar-uploader" v-model="classifyIcon"
action="https://admin.sjajk.com/sqx_fast/alioss/upload" :show-file-list="false"
:action="uploadUrl" :show-file-list="false"
:on-success="handleAvatarSuccess2">
<img v-if="form.classifyIcon" :src="form.classifyIcon" class="avatar"
style="border-radius: 6px;width: 148px;height: 148px;" />
@ -258,6 +258,7 @@
export default {
data() {
return {
uploadUrl: this.serverPaths.uploadUrl,
dialogVisible: false,
imageUrl: [],
limit: 10,

View File

@ -33,7 +33,7 @@
<div
style=" width:148px;height:148px;border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 148px;">
<el-upload class="avatar-uploader" v-model="titleImg"
action="https://admin.sjajk.com/sqx_fast/alioss/upload" :show-file-list="false"
:action="uploadUrl" :show-file-list="false"
:on-success="handleAvatarSuccess">
<img v-if="titleImg" :src="titleImg" class="avatar"
style="border-radius: 6px;width: 148px;height: 148px;" />
@ -50,7 +50,7 @@
</span>
</div>
<div class="imgs" style="width: 50%;">
<el-upload action="https://admin.sjajk.com/sqx_fast/alioss/upload" list-type="picture-card"
<el-upload :action="uploadUrl" list-type="picture-card"
:show-file-list="false" :on-success="handleRemove">
<i class="el-icon-plus"></i>
</el-upload>
@ -351,6 +351,7 @@
},
data() {
return {
uploadUrl: this.serverPaths.uploadUrl,
titles: '添加任务',
goodsType:'',
goodsId: '', //id

View File

@ -1,6 +1,6 @@
/*富文本编辑图片上传配置*/
const uploadConfig = {
action: 'https://admin.sjajk.com/sqx_fast/alioss/upload', // 必填参数 图片上传地址
action: this.serverPaths.uploadUrl, // 必填参数 图片上传地址
methods: 'POST', // 必填参数 图片上传方式
token: '', // 可选参数 如果需要token验证假设你的token有存放在sessionStorage
name: 'file', // 必填参数 文件的参数名

View File

@ -348,7 +348,7 @@
<div
style="display: inline-block;width:148px;height:137px;background-color: #fbfdff; border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 137px;">
<el-upload class="avatar-uploader" v-model="picture"
action="https://admin.sjajk.com/sqx_fast/alioss/upload" :show-file-list="false"
:action="uploadUrl" :show-file-list="false"
:on-success="handleAvatarSuccess">
<img v-if="item.picture" :src="item.picture" class="avatar"
style="width: 148px;height:137px;" />
@ -427,7 +427,7 @@
<div
style=" width:148px;height:148px;border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 148px;">
<el-upload class="avatar-uploader" v-model="imageUrl"
action="https://admin.sjajk.com/sqx_fast/alioss/upload" :show-file-list="false"
:action="uploadUrl" :show-file-list="false"
:on-success="handleAvatarSuccess1">
<img v-if="imageUrl" :src="imageUrl" class="avatar"
style="border-radius: 6px;width: 148px;height: 148px;" />
@ -459,7 +459,7 @@
<div
style=" width:148px;height:148px;border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 148px;">
<el-upload class="avatar-uploader" v-model="imageUrl"
action="https://admin.sjajk.com/sqx_fast/alioss/upload" :show-file-list="false"
:action="uploadUrl" :show-file-list="false"
:on-success="handleAvatarSuccess2">
<img v-if="form.imageUrl" :src="form.imageUrl" class="avatar"
style="border-radius: 6px;width: 148px;height: 148px;" />
@ -492,6 +492,7 @@
export default {
data() {
return {
uploadUrl: this.serverPaths.uploadUrl,
openValue: '1',
closeValue: '0',
limit: 10,

View File

@ -85,7 +85,7 @@
<el-upload
class="avatar-uploader"
v-model="img"
action="https://admin.sjajk.com/sqx_fast/alioss/upload"
:action="uploadUrl"
:show-file-list="false"
:on-success="handleAvatarSuccess"
>
@ -113,7 +113,7 @@
<el-upload
class="avatar-uploader"
v-model="form.img"
action="https://admin.sjajk.com/sqx_fast/alioss/upload"
:action="uploadUrl"
:show-file-list="false"
:on-success="handleAvatarSuccess2"
>
@ -135,6 +135,7 @@
export default {
data() {
return {
uploadUrl: this.serverPaths.uploadUrl,
size:5,
page:1,
name:'',

View File

@ -51,7 +51,7 @@
<div
style=" width:148px;height:148px;background-color: #fbfdff;border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 148px;">
<el-upload class="avatar-uploader" v-model="coverImg"
action="https://admin.sjajk.com/sqx_fast/alioss/upload" :show-file-list="false"
:action="uploadUrl" :show-file-list="false"
:on-success="handleAvatarSuccess1">
<img v-if="coverImg" :src="coverImg" class="avatar" style="width: 140px;height: 140px;" />
<i v-else class="el-icon-plus avatar-uploader-icon" style="font-size: 28px;color: #8c939d"></i>
@ -69,7 +69,7 @@
</div>
</div>
<div>
<el-upload action="https://admin.sjajk.com/sqx_fast/alioss/upload" list-type="picture-card"
<el-upload :action="uploadUrl" list-type="picture-card"
:on-success="handleUploadSuccess" :on-change="handleChange" :on-remove="handleRemove">
<i class="el-icon-plus"></i>
</el-upload>
@ -171,7 +171,7 @@
<div class="imgWrap"
style=" width:60px;height:60px;background-color: #fbfdff; border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 60px;">
<el-upload class="avatar-uploader" v-model="scope.row.skuImg"
action="https://admin.sjajk.com/sqx_fast/alioss/upload" :show-file-list="false"
:action="uploadUrl" :show-file-list="false"
:on-success="handleAvatarSuccess">
<img v-if="scope.row.skuImg" :src="scope.row.skuImg" class="avatar"
style="border-radius: 6px;width:50px;height: 50px;" @click="curRowIndex=scope.$index" />
@ -248,7 +248,7 @@
<div class="imgWrap"
style=" width:60px;height:60px;background-color: #fbfdff; border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 60px;">
<el-upload class="avatar-uploader" v-model="scope.row.skuImg"
action="https://admin.sjajk.com/sqx_fast/alioss/upload" :show-file-list="false"
:action="uploadUrl" :show-file-list="false"
:on-success="handleAvatarSuccess3">
<img v-if="scope.row.skuImg" :src="scope.row.skuImg" class="avatar"
style="border-radius: 6px;width:50px;height: 50px;" @click="curRowIndex=scope.$index" />
@ -338,7 +338,7 @@
import { quillEditor }
from 'vue-quill-editor'
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
import quillConfig from '../mission/quill-config.js'
export default {
@ -348,6 +348,7 @@
},
data() {
return {
uploadUrl: this.serverPaths.uploadUrl,
quillOption: quillConfig,
type: '',
typeId: '',
@ -734,7 +735,8 @@
xhr = new XMLHttpRequest();
xhr.withCredentials = false;
xhr.open('POST', "https://admin.sjajk.com/sqx_fast/alioss/upload");
// xhr.open('POST', "https://admin.sjajk.com/sqx_fast/alioss/upload");//
xhr.open('POST', "http://192.168.2.222/sqx_fast/alioss/upload");
xhr.onload = function() {
var json;

View File

@ -42,7 +42,7 @@
<el-option v-for="(item,index) in isExpressmain" :key="item.index" :label="item.label" :value="item.value">
</el-option>
</el-select>
</el-col>
</el-col>
</el-row>
<div style="display: flex;align-items: center;margin: 2% 0;">
<span style="display: inline-block;text-align: right;">商品封面图</span>
@ -50,7 +50,7 @@
<el-upload
class="avatar-uploader"
v-model="coverImg"
action="https://admin.sjajk.com/sqx_fast/alioss/upload"
:action="uploadUrl"
:show-file-list="false"
:on-success="handleAvatarSuccess1"
>
@ -63,7 +63,7 @@
<span style="display: inline-block;text-align: right;">商品轮播图</span>
<div>
<el-upload
action="https://admin.sjajk.com/sqx_fast/alioss/upload"
:action="uploadUrl"
list-type="picture-card"
:on-success="handleUploadSuccess"
:on-change="handleChange"
@ -228,7 +228,7 @@
style="width: 60px;height: 60px;"
class="avatar-uploader"
v-model="scope.row.skuImg"
action="https://admin.sjajk.com/sqx_fast/alioss/upload"
:action="uploadUrl"
:show-file-list="false"
:on-success="handleAvatarSuccess"
>
@ -321,7 +321,7 @@
style="width: 60px;height: 60px;"
class="avatar-uploader"
v-model="scope.row.skuImg"
action="https://admin.sjajk.com/sqx_fast/alioss/upload"
:action="uploadUrl"
:show-file-list="false"
:on-success="handleAvatarSuccess3"
>
@ -423,6 +423,7 @@
},
data() {
return {
uploadUrl: this.serverPaths.uploadUrl,
quillOption: quillConfig,
specif:'',
typeId: '',
@ -527,7 +528,7 @@
descrition: ''
}
},
methods: {
// input
proving() {
@ -774,7 +775,7 @@
})
})
},
//
dataSelect () {
this.tableDataLoading = true
@ -935,7 +936,7 @@
if(this.price == ''){
this.price = '0'
}
this.$http({
url: this.$http.adornUrl(`goods/isFormatAttr?coverImg=${this.coverImg}&price=${this.price}`),
method: 'post',
@ -954,7 +955,7 @@
mounted() {
this.specifSelect()
},
}
</script>

View File

@ -109,7 +109,7 @@
<div
style=" width:148px;height:148px;background-color: #fbfdff;border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 148px;">
<el-upload class="avatar-uploader" v-model="coverImg"
action="https://admin.sjajk.com/sqx_fast/alioss/upload" :show-file-list="false"
:action="uploadUrl" :show-file-list="false"
:on-success="handleAvatarSuccess1">
<img v-if="coverImg" :src="coverImg" class="avatar" style="width: 140px;height: 140px;" />
<i v-else class="el-icon-plus avatar-uploader-icon" style="font-size: 28px;color: #8c939d"></i>
@ -127,7 +127,7 @@
</div>
</div>
<div>
<el-upload action="https://admin.sjajk.com/sqx_fast/alioss/upload" list-type="picture-card"
<el-upload :action="uploadUrl" list-type="picture-card"
:on-success="handleUploadSuccess" :on-change="handleChange" :on-remove="handleRemove">
<i class="el-icon-plus"></i>
</el-upload>
@ -229,7 +229,7 @@
<div class="imgWrap"
style=" width:60px;height:60px;background-color: #fbfdff; border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 60px;">
<el-upload class="avatar-uploader" v-model="scope.row.skuImg"
action="https://admin.sjajk.com/sqx_fast/alioss/upload" :show-file-list="false"
:action="uploadUrl" :show-file-list="false"
:on-success="handleAvatarSuccess">
<img v-if="scope.row.skuImg" :src="scope.row.skuImg" class="avatar"
style="border-radius: 6px;width:50px;height: 50px;" @click="curRowIndex=scope.$index" />
@ -302,7 +302,7 @@
<div class="imgWrap"
style=" width:60px;height:60px;background-color: #fbfdff; border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 60px;">
<el-upload class="avatar-uploader" v-model="scope.row.skuImg"
action="https://admin.sjajk.com/sqx_fast/alioss/upload" :show-file-list="false"
:action="uploadUrl" :show-file-list="false"
:on-success="handleAvatarSuccess3">
<img v-if="scope.row.skuImg" :src="scope.row.skuImg" class="avatar"
style="border-radius: 6px;width:50px;height: 50px;" @click="curRowIndex=scope.$index" />
@ -395,6 +395,7 @@
},
data() {
return {
uploadUrl: this.serverPaths.uploadUrl,
type: '',
typeId: '',
title: '',
@ -677,7 +678,7 @@
}else{
this.postagePrice = returnData.postagePrice
}
}else{
this.postagePrice = 0
}

View File

@ -34,7 +34,7 @@
<span style="width: 200px;display: inline-block;text-align: right;">图片地址</span>
<div
style=" width:148px;height:148px;border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 148px;">
<el-upload class="avatar-uploader" v-model="imgUrl" action="https://admin.sjajk.com/sqx_fast/alioss/upload"
<el-upload class="avatar-uploader" v-model="imgUrl" :action="uploadUrl"
:show-file-list="false" :on-success="handleAvatarSuccess1">
<img v-if="imgUrl" :src="imgUrl" class="avatar" style="border-radius: 6px;width:148px;height: 148px;" />
<i v-else class="el-icon-plus avatar-uploader-icon"></i>
@ -57,7 +57,7 @@
<div
style=" width:148px;height:148px;border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height:148px;">
<el-upload class="avatar-uploader" v-model="imgUrl"
action="https://admin.sjajk.com/sqx_fast/alioss/upload" :show-file-list="false"
:action="uploadUrl" :show-file-list="false"
:on-success="handleAvatarSuccess3">
<img v-if="form2.imgUrl" :src="form2.imgUrl" class="avatar"
style="border-radius: 6px;width:148px;height: 148px;" />
@ -128,7 +128,7 @@
<div
style=" width:148px;height:148px;border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 148px;">
<el-upload class="avatar-uploader" v-model="image_url"
action="https://admin.sjajk.com/sqx_fast/alioss/upload" :show-file-list="false"
:action="uploadUrl" :show-file-list="false"
:on-success="handleAvatarSuccess4">
<img v-if="image_url" :src="image_url" class="avatar"
style="border-radius: 6px;width: 86px;height: 86px;" />
@ -160,7 +160,7 @@
<div
style=" width:148px;height:148px;border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 148px;">
<el-upload class="avatar-uploader" v-model="image_url"
action="https://admin.sjajk.com/sqx_fast/alioss/upload" :show-file-list="false"
:action="uploadUrl" :show-file-list="false"
:on-success="handleAvatarSuccess2">
<img v-if="form1.image_url" :src="form1.image_url" class="avatar"
style="border-radius: 6px;width: 86px;height: 86px;" />
@ -408,6 +408,7 @@
export default {
data() {
return {
uploadUrl: this.serverPaths.uploadUrl,
size: 5,
page: 1,
pages: 1,

View File

@ -109,7 +109,7 @@
<div
style=" width:148px;height:148px;background-color: #fbfdff; border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 148px;">
<el-upload class="avatar-uploader" v-model="coverImg"
action="https://admin.sjajk.com/sqx_fast/alioss/upload" :show-file-list="false"
:action="uploadUrl" :show-file-list="false"
:on-success="handleAvatarSuccess1">
<img v-if="coverImg" :src="coverImg" class="avatar" style="width: 148px;height: 148px;" />
<i v-else class="el-icon-plus avatar-uploader-icon" style="font-size: 28px;color: #8c939d"></i>
@ -119,7 +119,7 @@
<div style="display: flex;align-items: center;margin: 2% 0;flex-flow: wrap;">
<span style="display: inline-block;text-align: right;">商品轮播图</span>
<div>
<el-upload action="https://admin.sjajk.com/sqx_fast/alioss/upload" list-type="picture-card"
<el-upload :action="uploadUrl" list-type="picture-card"
:on-success="handleUploadSuccess" :on-change="handleChange" :on-remove="handleRemove">
<i class="el-icon-plus"></i>
</el-upload>
@ -222,7 +222,7 @@
<div class="imgWrap"
style=" width:60px;height:60px;background-color: #fbfdff; border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 60px;">
<el-upload style="width: 60px;height: 60px;" class="avatar-uploader" v-model="scope.row.skuImg"
action="https://admin.sjajk.com/sqx_fast/alioss/upload" :show-file-list="false"
:action="uploadUrl" :show-file-list="false"
:on-success="handleAvatarSuccess">
<img v-if="scope.row.skuImg" :src="scope.row.skuImg" class="avatar"
style="border-radius: 6px;width:60px;height: 60px;" @click="curRowIndex=scope.$index" />
@ -295,7 +295,7 @@
<div class="imgWrap"
style=" width:60px;height:60px;background-color: #fbfdff; border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 60px;">
<el-upload style="width: 60px;height: 60px;" class="avatar-uploader" v-model="scope.row.skuImg"
action="https://admin.sjajk.com/sqx_fast/alioss/upload" :show-file-list="false"
:action="uploadUrl" :show-file-list="false"
:on-success="handleAvatarSuccess3">
<img v-if="scope.row.skuImg" :src="scope.row.skuImg" class="avatar"
style="border-radius: 6px;width:60px;height: 60px;" @click="curRowIndex=scope.$index" />
@ -374,7 +374,7 @@
</template>
<script>
import {
quillEditor
} from 'vue-quill-editor'
@ -389,6 +389,7 @@
},
data() {
return {
uploadUrl: this.serverPaths.uploadUrl,
specif: '',
typeId: '',
title: '',
@ -490,7 +491,7 @@
quillOption: quillConfig,
}
},
methods: {
//
handleAvatarSuccess(file) {
@ -812,7 +813,7 @@
})
})
},
//
dataSelect() {
this.tableDataLoading = true
@ -1013,7 +1014,7 @@
this.specifSelect()
// this.brandSelect()
},
}
</script>

View File

@ -91,7 +91,7 @@
<div
style=" width:148px;height:148px;border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 148px;">
<el-upload class="avatar-uploader" v-model="memberImg"
action="https://admin.sjajk.com/sqx_fast/alioss/upload" :show-file-list="false"
:action="uploadUrl" :show-file-list="false"
:on-success="handleAvatarSuccess">
<img v-if="memberImg" :src="memberImg" class="avatar"
style="border-radius: 6px;width: 148px;height: 148px;" />
@ -155,6 +155,7 @@
export default {
data() {
return {
uploadUrl: this.serverPaths.uploadUrl,
page: 1,
limit: 10,
tableDataLoading: true,

View File

@ -15,7 +15,7 @@
<el-upload
v-model="titlePicture"
:class="{hide:hideUpload}"
action="https://admin.sjajk.com/sqx_fast/alioss/upload"
:action="uploadUrl"
:limit=1
:on-success="handleUploadSuccess"
list-type="picture-card"
@ -47,6 +47,7 @@
name: 'Tinymce',
data() {
return {
uploadUrl: this.serverPaths.uploadUrl,
classifyId: '',
title: '',
luckyValue: '',
@ -166,7 +167,7 @@
xhr = new XMLHttpRequest();
xhr.withCredentials = false;
xhr.open('POST', "https://admin.sjajk.com/sqx_fast/alioss/upload");
xhr.open('POST', this.uploadUrl);
xhr.onload = function () {
var json;

View File

@ -15,7 +15,7 @@
<el-upload
v-model="titlePicture"
:class="{hide:hideUpload}"
action="https://admin.sjajk.com/sqx_fast/alioss/upload"
:action="uploadUrl"
:limit=1
:on-success="handleUploadSuccess"
list-type="picture-card"
@ -48,6 +48,7 @@
name: 'Tinymce',
data() {
return {
uploadUrl: this.serverPaths.uploadUrl,
classifyId: '',
title: '',
luckyValue: '',
@ -191,7 +192,7 @@
xhr = new XMLHttpRequest();
xhr.withCredentials = false;
xhr.open('POST', "https://admin.sjajk.com/sqx_fast/alioss/upload");
xhr.open('POST', this.uploadUrl);
xhr.onload = function () {
var json;

View File

@ -1476,7 +1476,7 @@
<div
style=" width:148px;height:148px;border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 148px;display: inline-block;">
<el-upload class="avatar-uploader" v-model="avatar"
action="https://admin.sjajk.com/sqx_fast/alioss/upload" :show-file-list="false"
:action="uploadUrl" :show-file-list="false"
:on-success="handleAvatarSuccessT">
<!-- <el-progress type="circle" :percentage="100" status="success"></el-progress> -->
<img v-if="avatar != ''" :src="avatar" class="avatar"
@ -1713,7 +1713,7 @@
<div
style=" width:148px;height:148px;border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 148px;">
<el-upload class="avatar-uploader" v-model="artificerImg"
action="https://admin.sjajk.com/sqx_fast/alioss/upload" :show-file-list="false"
:action="uploadUrl" :show-file-list="false"
:on-success="handleAvatarSuccess1" :on-progress="onprogress2">
<!-- <el-progress type="circle" :percentage="100" status="success"></el-progress> -->
<img v-if="artificerImg != ''" :src="artificerImg" class="avatar"
@ -1733,7 +1733,7 @@
</span>
</div>
<div class="imgs" style="width: 50%;">
<el-upload action="https://admin.sjajk.com/sqx_fast/alioss/uploadWatermark" list-type="picture-card"
<el-upload :action="uploadWatermarkUrl" list-type="picture-card"
:show-file-list="false" :on-success="handleUploadSuccess3" :on-progress="onprogress1">
<el-progress v-if="percentage1 > 0 && percentage1 < 100" type="circle"
:percentage="percentage1">
@ -1751,7 +1751,7 @@
</span>
</div>
<div class="imgs" style="width: 50%;">
<el-upload action="https://admin.sjajk.com/sqx_fast/alioss/upload" list-type="picture-card"
<el-upload :action="uploadUrl" list-type="picture-card"
:show-file-list="false" :on-success="handleUploadSuccess4" :on-progress="onprogress1">
<el-progress v-if="percentage1 > 0 && percentage1 < 100" type="circle"
:percentage="percentage1">
@ -1942,6 +1942,8 @@
export default {
data() {
return {
uploadUrl: this.serverPaths.uploadUrl,
uploadWatermarkUrl: this.serverPaths.uploadWatermarkUrl,
artificerIdSet: null,
integratingDataStatus: true,
totalIntegrating: 0,

View File

@ -281,7 +281,7 @@
:disabled="!isAuth('userList:updateXyf')"
style="color: #4f9dec;background: #fff;border: none;"
@click="ageChange2(tableData.userId,tableData.creditScore)">修改</el-button>
</td>
<th>完成订单数量</th>
<td class="border-rt">
@ -404,7 +404,7 @@
</td>
<th></th>
<td class="border-rt">
</td>
</tr>
<tr>
@ -1219,7 +1219,7 @@
</span>
</template>
</el-table-column>
<el-table-column prop="phone" label="电话" width="160">
</el-table-column>
<el-table-column prop="address" label="地址" ></el-table-column>
@ -1308,7 +1308,7 @@
</el-table-column> -->
<el-table-column prop="createAt" label="创建时间" width="160">
</el-table-column>
<el-table-column prop="status" label="状态" width="100" fixed="right">
<template slot-scope="scope">
<span style="color: #4f9dec;" v-if="scope.row.status === 1 ">待付款</span>
@ -1370,7 +1370,7 @@
<div
style=" width:148px;height:148px;border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 148px;display: inline-block;">
<el-upload class="avatar-uploader" v-model="avatar"
action="https://admin.sjajk.com/sqx_fast/alioss/upload" :show-file-list="false"
:action="uploadUrl" :show-file-list="false"
:on-success="handleAvatarSuccessT">
<!-- <el-progress type="circle" :percentage="100" status="success"></el-progress> -->
<img v-if="avatar!=''" :src="avatar" class="avatar"
@ -1541,7 +1541,7 @@
type="datetime" format="yyyy-MM-dd HH:mm:ss" value-format="yyyy-MM-dd HH:mm:ss" placeholder="选择时间">
</el-date-picker>&nbsp;&nbsp;&nbsp;
</div> -->
<div style="margin-bottom: 10px;">
<span style="width: 200px;display: inline-block;text-align: right;">城市</span>
<el-input style="width:50%;" v-model="city" type="text" placeholder="请输入城市"></el-input>
@ -1588,7 +1588,7 @@
<div
style=" width:148px;height:148px;border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 148px;">
<el-upload class="avatar-uploader" v-model="artificerImg"
action="https://admin.sjajk.com/sqx_fast/alioss/upload" :show-file-list="false"
:action="uploadUrl" :show-file-list="false"
:on-success="handleAvatarSuccess1" :on-progress="onprogress2">
<!-- <el-progress type="circle" :percentage="100" status="success"></el-progress> -->
<img v-if="artificerImg!=''" :src="artificerImg" class="avatar"
@ -1608,7 +1608,7 @@
</span>
</div>
<div class="imgs" style="width: 50%;">
<el-upload action="https://admin.sjajk.com/sqx_fast/alioss/uploadWatermark"
<el-upload :action="uploadWatermarkUrl"
list-type="picture-card" :show-file-list="false" :on-success="handleUploadSuccess3"
:on-progress="onprogress1">
<el-progress v-if="percentage1>0 && percentage1<100" type="circle" :percentage="percentage1">
@ -1626,7 +1626,7 @@
</span>
</div>
<div class="imgs" style="width: 50%;">
<el-upload action="https://admin.sjajk.com/sqx_fast/alioss/upload" list-type="picture-card"
<el-upload :action="uploadUrl" list-type="picture-card"
:show-file-list="false" :on-success="handleUploadSuccess4" :on-progress="onprogress1">
<el-progress v-if="percentage1>0 && percentage1<100" type="circle" :percentage="percentage1">
</el-progress>
@ -1718,7 +1718,7 @@
<el-button style="margin-left:15px;" size="mini" type="primary" icon="document" @click="cleans1">重置
</el-button>
</div>
<el-table v-loading="tableDataLoading1" :data="usersData.list">
<el-table-column prop="userId" label="id" width="80">
</el-table-column>
@ -1761,7 +1761,7 @@
icon="document" @click="xuanze(scope.row,1)">选择</el-button>
</template>
</el-table-column>
</el-table>
<div style="text-align: center;margin-top: 10px;">
<el-pagination @size-change="handleSizeChange2" @current-change="handleCurrentChange2"
@ -1807,6 +1807,8 @@
export default {
data() {
return {
uploadUrl: this.serverPaths.uploadUrl,
uploadWatermarkUrl: this.serverPaths.uploadWatermarkUrl,
openValue: 1,
closeValue: 0,
state: 0,
@ -2186,10 +2188,10 @@
moneyType:1,
moneys:'',
JsartificerId:'',
dialogFormVisibleJs:false,
}
},
methods: {
@ -2355,7 +2357,7 @@
if (tab._props.label == '商家详情') {
this.shopsSelect()
}
},
handleSizeChangeTx(val) {
@ -3044,11 +3046,11 @@
}
if (this.artificer.lifePhoto&&this.artificer.lifePhoto!='') {
this.artificer.lifePhoto = this.artificer.lifePhoto.split(",")
}else{
this.artificer.lifePhoto = []
}
})
},
//
@ -3868,7 +3870,7 @@
//
timesUp() {
var arrs = []
for (var i in this.times) {
for (var j in this.timeLis) {
if(this.timeLis[j].classify == 2){
@ -3877,9 +3879,9 @@
arrs.push(this.times[i])
}
}
}
}
let userId = this.$route.query.userId
this.$http({
@ -3927,7 +3929,7 @@
'limit': this.limit,
'userId': userId,
// 'classify': 7
})
}).then(({
data
@ -4038,12 +4040,12 @@
this.nickName = ''
this.phoneU = ''
this.inviterCode = ''
this.dataSelect1()
},
//
dataSelect1() {
this.tableDataLoading1 = true
this.$http({
url: this.$http.adornUrl('user/selectUserList'),
@ -4061,7 +4063,7 @@
'ordersUser':'',
'invitationCode':'',
'isAgency':''
})
}).then(({
data
@ -4149,13 +4151,13 @@
})
},
xiugaiJs(row) {
this.proportion = row.rate
this.artificerId = row.artificerId
this.dialogFormVisibleJs = true
},
StairNoticeToJs() {
this.$http({
url: this.$http.adornUrl('artificer/updateArtificers'),
method: 'post',
@ -4188,7 +4190,7 @@
}
})
}
})
},
//
@ -4225,7 +4227,7 @@
onClose: () => {}
})
}
})
}).catch(() => {})
},

View File

@ -1161,7 +1161,7 @@
<div
style=" width:148px;height:148px;border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 148px;">
<el-upload class="avatar-uploader" v-model="front"
action="https://admin.sjajk.com/sqx_fast/alioss/upload" :show-file-list="false"
:action="uploadUrl" :show-file-list="false"
:on-success="handleAvatarSuccess">
<img v-if="front" :src="front" class="avatar"
style="border-radius: 6px;width: 148px;height: 148px;" />
@ -1174,7 +1174,7 @@
<div
style=" width:148px;height:148px;border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 148px;">
<el-upload class="avatar-uploader" v-model="back"
action="https://admin.sjajk.com/sqx_fast/alioss/upload" :show-file-list="false"
:action="uploadUrl" :show-file-list="false"
:on-success="handleAvatarSuccess1">
<img v-if="back" :src="back" class="avatar"
style="border-radius: 6px;width: 148px;height: 148px;" />
@ -1191,7 +1191,7 @@
</span>
</div>
<div class="imgs" style="width: 50%;">
<el-upload action="https://admin.sjajk.com/sqx_fast/alioss/uploadWatermark"
<el-upload :action="uploadWatermarkUrl"
list-type="picture-card" :show-file-list="false" :on-success="handleRemove">
<i class="el-icon-plus"></i>
</el-upload>
@ -1209,7 +1209,7 @@
</span>
</div>
<div class="imgs" style="width: 50%;">
<el-upload action="https://admin.sjajk.com/sqx_fast/alioss/upload"
<el-upload :action="uploadUrl"
list-type="picture-card" :show-file-list="false" :on-success="handleRemove1">
<i class="el-icon-plus"></i>
</el-upload>
@ -1223,7 +1223,7 @@
<div
style=" width:148px;height:148px;border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 148px;">
<el-upload class="avatar-uploader" v-model="avater"
action="https://admin.sjajk.com/sqx_fast/alioss/upload" :show-file-list="false"
:action="uploadUrl" :show-file-list="false"
:on-success="handleAvatarSuccessAvater">
<img v-if="avater" :src="avater" class="avatar"
style="border-radius: 6px;width: 148px;height: 148px;" />
@ -1257,6 +1257,8 @@
export default {
data() {
return {
uploadUrl: this.serverPaths.uploadUrl,
uploadWatermarkUrl: this.serverPaths.uploadWatermarkUrl,
openValue: 1,
closeValue: 2,
state: 'false',

View File

@ -5,7 +5,7 @@
icon="document" @click="addNotice">添加会员特权</el-button>
</div>
<el-table v-loading="tableDataLoading" :data="tableData.list">
<el-table-column fixed prop="memberId" label="编号" width="50">
</el-table-column>
<el-table-column prop="memberImg" label="图片">
@ -40,7 +40,7 @@
<el-upload
class="avatar-uploader"
v-model="memberImg"
action="https://admin.sjajk.com/sqx_fast/alioss/upload"
:action="uploadUrl"
:show-file-list="false"
:on-success="handleAvatarSuccess"
>
@ -69,6 +69,7 @@
export default {
data() {
return {
uploadUrl: this.serverPaths.uploadUrl,
page:1,
limit:10,
tableDataLoading: true,

View File

@ -5,7 +5,7 @@
icon="document" @click="addNotice">添加会员特权</el-button>
</div>
<el-table v-loading="tableDataLoading" :data="tableData.list">
<el-table-column fixed prop="memberId" label="编号" width="50">
</el-table-column>
<el-table-column prop="memberImg" label="图片">
@ -37,16 +37,16 @@
<div style="margin-bottom: 10px;display: flex;">
<span style="width: 200px;display: inline-block;text-align: right;">图片</span>
<div style=" width:148px;height:148px;border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 148px;">
<el-upload
class="avatar-uploader"
v-model="memberImg"
action="https://admin.sjajk.com/sqx_fast/alioss/upload"
:show-file-list="false"
:on-success="handleAvatarSuccess"
>
<img v-if="memberImg" :src="memberImg" class="avatar" style="border-radius: 6px;width: 148px;height: 148px;"/>
<i v-else class="el-icon-plus avatar-uploader-icon"></i>
</el-upload>
<el-upload
class="avatar-uploader"
v-model="memberImg"
:action="uploadUrl"
:show-file-list="false"
:on-success="handleAvatarSuccess"
>
<img v-if="memberImg" :src="memberImg" class="avatar" style="border-radius: 6px;width: 148px;height: 148px;"/>
<i v-else class="el-icon-plus avatar-uploader-icon"></i>
</el-upload>
</div>
</div>
<div style="margin-bottom: 10px;">
@ -78,7 +78,8 @@
memberImg:'',
memberId:'',
sort:'',
title:'添加'
title:'添加',
uploadUrl: this.serverPaths.uploadUrl
}
},
methods: {

View File

@ -159,8 +159,8 @@
</div> -->
<!-- 上传文件 -->
<div class="icon-item">
<el-upload class="avatar-uploader" v-model="coverImg"
action="https://admin.sjajk.com/sqx_fast/alioss/upload"
<el-upload class="avatar-uploader" v-model="coverImg"
:action="uploadUrl"
:show-file-list="false" :on-success="handleAvatarSuccess" :before-upload="beforeAvatarUpload">
<div class="icon-item" title="发送文件">
<img class="icon-item-img" src="~@/assets/img/wenjian.png" />
@ -185,6 +185,7 @@
export default {
data() {
return {
uploadUrl: this.serverPaths.uploadUrl,
chatList: [],
page: 1,
size: 5,

View File

@ -1,5 +1,6 @@
// const ROOTPATH = "http://192.168.1.169:8187/sqx_fast";
// const ROOTPATH1 = "http://192.168.1.169:8187/sqx_fast";
const ROOTPATH = "http://192.168.2.222:8187/sqx_fast";
const ROOTPATH1 = "http://192.168.2.222:8187/sqx_fast";
const ROOTPATH3 = "wss://192.168.2.222:8187/wss/websocket/";
//客户现场
// const ROOTPATH = "http://192.168.110.85:8187/sqx_fast";
// const ROOTPATH1 = "http://192.168.110.85:8187/sqx_fast";
@ -11,9 +12,9 @@
// const ROOTPATH1 = "http://192.168.1.50:8187/sqx_fast";
// const ROOTPATH3 = "wss://wx.sjajk.com/wss/websocket/";//联系客服
//生产环境
const ROOTPATH = "https://wx.sjajk.com/sqx_fast";
const ROOTPATH1 = "https://wx.sjajk.com/sqx_fast";
const ROOTPATH3 = "wss://wx.sjajk.com/wss/websocket/"; //联系客服
// const ROOTPATH = "https://wx.sjajk.com/sqx_fast";//生产需替换
// const ROOTPATH1 = "https://wx.sjajk.com/sqx_fast";//生产需替换
// const ROOTPATH3 = "wss://wx.sjajk.com/wss/websocket/"; //联系客服//生产需替换
//上传地址
const UPLOAD_PATH = ROOTPATH1 + '/alioss/upload';
@ -28,8 +29,8 @@ const TX_MAP_KEY = 'VIWBZ-5OM3F-CV7JZ-NLKJY-AXSYV-TMFM6';
//ws基础连接地址
//const WS_BASE_PATH = 'ws://192.168.31.21:8187/sqx_fast/';
//const WS_BASE_PATH = 'ws://127.0.0.1:8187/sqx_fast/';
const WS_BASE_PATH = 'wss://admin.sjajk.com/sqx_fast/';
const WS_BASE_PATH = 'ws://192.168.2.222:8187/sqx_fast/';
// const WS_BASE_PATH = 'wss://admin.sjajk.com/sqx_fast/';//生产需替换
//地图ws接口
const WS_UPLOAD_MAP_PATH = WS_BASE_PATH + 'mapWebsocket/';

View File

@ -18,11 +18,13 @@ module.exports = {
},
//全局域名 部分html中需要单独替换 需要修改config中的网络请求域名
publicYuMing() {
return 'https://admin.sjajk.com'
// return 'https://admin.sjajk.com'//生产需替换
return 'http://192.168.2.222:8187'
},
//全局域名 部分html中需要单独替换 需要修改config中的网络请求域名
publicYuMingApp() {
return 'https://wx.sjajk.com'
//return 'https://wx.sjajk.com'//生产需替换
return 'http://192.168.2.222:8187'
},
logout() {
this.remove("token");

View File

@ -20,7 +20,8 @@
<script type="text/javascript">
window._AMapSecurityConfig = {
//securityJsCode: "js秘钥",
serviceHost: 'https://wx.sjajk.com/_AMapService',
// serviceHost: 'https://wx.sjajk.com/_AMapService',//生产需替换
serviceHost: 'http://192.168.2.222:8187/_AMapService',
};
</script>
<!-- 高德 -->

View File

@ -185,7 +185,8 @@
"amap" : {
"key" : "2acf1b8c3d1aaf0070472dec19018d96",
"securityJsCode" : "2b07c8496878c327a8ae7a19de33e2a7",
"serviceHost" : "http://wx.sjajk.com/_AMapService"
// "serviceHost" : "http://wx.sjajk.com/_AMapService",//
"serviceHost" : "http://192.168.2.222:8187/_AMapService"
}
}
},

View File

@ -101,7 +101,8 @@ class Request {
constructor() {
this.config = {
baseUrl: 'https://admin.sjajk.com/', // 请求的根域名
// baseUrl: 'https://admin.sjajk.com/', // 请求的根域名//生产需替换
baseUrl: 'http://192.168.2.222:8187/', // 请求的根域名
// 默认的请求头
header: {},
method: 'POST',

View File

@ -1,7 +1,9 @@
const PROT = "https://"
//生产环境
const ROOTHOST = "admin.sjajk.com";
// const PROT = "https://"//生产需替换
// const ROOTHOST = "admin.sjajk.com";//生产需替换
//测试环境
const PROT = "http://"
const ROOTHOST = "192.168.2.222:8187";
// const ROOTHOST = "192.168.0.115:8187";
// const ROOTHOST = "192.168.1.169:8187";
// 后端本地张聪

View File

@ -101,7 +101,8 @@ class Request {
constructor() {
this.config = {
baseUrl: 'https://admin.sjajk.com/', // 请求的根域名
// baseUrl: 'https://admin.sjajk.com/', // 请求的根域名//生产需替换
baseUrl: 'http://192.168.2.222:8187/', // 请求的根域名
// 默认的请求头
header: {},
method: 'POST',

View File

@ -20,7 +20,7 @@ spring:
allow-circular-references: true
# 环境 dev|test|prod
profiles:
active: dev
active: prod
# jackson时间格式化
jackson:
time-zone: GMT+8