fix: 修改配置文件,修改成功案列接口默认typeId为空字符串
This commit is contained in:
parent
2e78b11b5b
commit
a75e9e84b1
@ -1 +1,4 @@
|
||||
window.APP_BASEURL='https://www.byhah.com'
|
||||
// 正式环境
|
||||
window.APP_BASEURL='http://120.55.250.12/api/website'
|
||||
// 测试环境
|
||||
// window.APP_BASEURL='https://www.byhah.com/test'
|
||||
|
||||
@ -5,7 +5,7 @@ export default class Website {
|
||||
// 获取成功案例数据
|
||||
async toSaveConsult (params: any): Promise<{ data: SystemInfo }> {
|
||||
return http({
|
||||
url: '/test/anon/website/saveConsult',
|
||||
url: '/anon/website/saveConsult',
|
||||
method: 'post',
|
||||
data: params
|
||||
})
|
||||
@ -13,7 +13,7 @@ export default class Website {
|
||||
// 获取成功案例数据
|
||||
async getCommentPage (params: any): Promise<{ data: SystemInfo }> {
|
||||
return http({
|
||||
url: '/test/anon/website/commentPage',
|
||||
url: '/anon/website/commentPage',
|
||||
method: 'get',
|
||||
params: params
|
||||
})
|
||||
@ -21,7 +21,7 @@ export default class Website {
|
||||
// 获取成功案例数据
|
||||
async getCasePage (params: any): Promise<{ data: SystemInfo }> {
|
||||
return http({
|
||||
url: '/test/anon/website/casePage',
|
||||
url: '/anon/website/casePage',
|
||||
method: 'get',
|
||||
params: params
|
||||
})
|
||||
@ -29,7 +29,7 @@ export default class Website {
|
||||
// new获取系统网站信息
|
||||
async getWebInfo (): Promise<{ data: SystemInfo }> {
|
||||
return http({
|
||||
url: '/test/anon/website/info',
|
||||
url: '/anon/website/info',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
@ -168,7 +168,7 @@ const currentType = ref('0')
|
||||
const getCaseData = async () => {
|
||||
console.log('88')
|
||||
const website = new Website()
|
||||
const res = await website.getCasePage({typeId: '0',pageNum: 1,pageSize: 6})
|
||||
const res = await website.getCasePage({typeId: '',pageNum: 1,pageSize: 6})
|
||||
console.log('66',res)
|
||||
if(res.code == 200){
|
||||
let resLs = res.data?.records || []
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user