优化
This commit is contained in:
@@ -6,7 +6,9 @@ export const productUrl='dj-admin';
|
|||||||
|
|
||||||
// const baseUrl = "https://web-api.hnsiyao.cn/czg/" //测试
|
// const baseUrl = "https://web-api.hnsiyao.cn/czg/" //测试
|
||||||
// const baseUrl = "https://web.hnsiyao.cn/czg/" // 线上
|
// const baseUrl = "https://web.hnsiyao.cn/czg/" // 线上
|
||||||
const baseUrl = "http://192.168.1.31:8080/admin/" // php
|
// const baseUrl = "http://192.168.1.31:8080/admin/" // php
|
||||||
|
const baseUrl = "https://playlet.test.sxczgkj.com/admin/" // php
|
||||||
|
|
||||||
|
|
||||||
export default{
|
export default{
|
||||||
baseUrl
|
baseUrl
|
||||||
|
|||||||
@@ -2550,6 +2550,7 @@ export default {
|
|||||||
data: this.$http.adornData({
|
data: this.$http.adornData({
|
||||||
courseDetailsId: row.courseDetailsId,
|
courseDetailsId: row.courseDetailsId,
|
||||||
advertising: row.advertising,
|
advertising: row.advertising,
|
||||||
|
courseId: row.courseId,
|
||||||
}),
|
}),
|
||||||
}).then(({ data }) => {
|
}).then(({ data }) => {
|
||||||
if (data.code == 0) {
|
if (data.code == 0) {
|
||||||
@@ -2591,6 +2592,7 @@ export default {
|
|||||||
data: this.$http.adornData({
|
data: this.$http.adornData({
|
||||||
courseDetailsId: row.courseDetailsId,
|
courseDetailsId: row.courseDetailsId,
|
||||||
good: row.good,
|
good: row.good,
|
||||||
|
courseId: row.courseId,
|
||||||
}),
|
}),
|
||||||
}).then(({ data }) => {
|
}).then(({ data }) => {
|
||||||
if (data.code == 0) {
|
if (data.code == 0) {
|
||||||
|
|||||||
@@ -113,8 +113,8 @@
|
|||||||
})
|
})
|
||||||
}).then(({data}) => {
|
}).then(({data}) => {
|
||||||
if (data && data.code === 0) {
|
if (data && data.code === 0) {
|
||||||
this.dataList = data.data.list
|
this.dataList = data.page.list
|
||||||
this.totalPage = data.data.totalCount
|
this.totalPage = data.page.totalCount
|
||||||
} else {
|
} else {
|
||||||
this.dataList = []
|
this.dataList = []
|
||||||
this.totalPage = 0
|
this.totalPage = 0
|
||||||
|
|||||||
@@ -998,7 +998,10 @@ export default {
|
|||||||
this.$http({
|
this.$http({
|
||||||
url: this.$http.adornUrl(`user/deleteUserByUserId/${delid}`),
|
url: this.$http.adornUrl(`user/deleteUserByUserId/${delid}`),
|
||||||
method: 'post',
|
method: 'post',
|
||||||
params: this.$http.adornData({})
|
params: this.$http.adornData({}),
|
||||||
|
data: {
|
||||||
|
'userId': delid
|
||||||
|
}
|
||||||
}).then(({
|
}).then(({
|
||||||
data
|
data
|
||||||
}) => {
|
}) => {
|
||||||
|
|||||||
@@ -152,7 +152,7 @@ export default {
|
|||||||
this.orderInfo = res.data.data
|
this.orderInfo = res.data.data
|
||||||
} else {
|
} else {
|
||||||
this.orderInfo = ''
|
this.orderInfo = ''
|
||||||
this.$message.error(res.data.msg)
|
this.$message.error(res.data.message)
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
this.orderInfo = ''
|
this.orderInfo = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user