移风店大屏前端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.4 KiB

1 year ago
import http from '../utils/http'
import request from '../utils/request'
1 year ago
//
/**
* @parms resquest 请求地址 例如http://197.82.15.15:8088/request/...
* @param '/testIp'代表vue-cil中configindex.js中配置的代理
*/
const baseUrl =
process.env.NODE_ENV === "development" ? "" : config.baseUrl.pro;
1 year ago
// get请求
const testApi = {
getListAPI(params) {
return http.get('/api/joke/list', params)
},
postFormAPI(params) {
return http.post('/api/user/reg', params)
}
}
export default testApi
export function prcCollectionListForGov (params) {
return request({
url: '/api/PartyApi/PrcCollectionListForGov',
method: 'post',
data: params,
params
})
}
export function getVegetableOutputList (params) {
return request({
url: '/api/resi/partymember/screenenterpriseoutput/yifengScreen/getVegetableOutputList',
method: 'GET',
params
})
1 year ago
}
//种业资讯列表
export function seedNewsScreenList (params) {
return request({
url: '/api/resi/partymember/yifengScreen/seedNewsScreenList',
method: 'GET',
params
})
}
// 种业资讯详情
export function seedNewsScreenDetail (id) {
return request({
url: `/api/resi/partymember/yifengScreen/seedNewsScreenDetail/${id}`,
method: 'GET'
})
}
// 种都力量-企业详情
export function getVegetableOutputListDetail () {
return request({
url: '/api/resi/partymember/screenenterpriseoutput/yifengScreen/getVegetableOutputListDetail',
method: 'GET'
})
}