21 changed files with 483 additions and 427 deletions
@ -0,0 +1,78 @@ |
|||
import { request } from '@/utils/http' |
|||
|
|||
//开店帮分类
|
|||
export function storeCategoryAll() { |
|||
return request.http({ |
|||
url: '/api/huiqitong/store_category_all', |
|||
method: 'GET' |
|||
}) |
|||
} |
|||
|
|||
//开店帮内容
|
|||
export function storeList(data:any) { |
|||
return request.http({ |
|||
url: '/api/huiqitong/store_list', |
|||
method: 'GET', |
|||
data |
|||
}) |
|||
} |
|||
|
|||
//开店帮内容详情
|
|||
export function storeInfo(id:string) { |
|||
return request.http({ |
|||
url: '/api/huiqitong/store_info/'+id, |
|||
method: 'GET', |
|||
}) |
|||
} |
|||
|
|||
//金融帮信息列表
|
|||
export function financeList(data:any) { |
|||
return request.http({ |
|||
url: '/api/huiqitong/finance_list', |
|||
method: 'GET', |
|||
data |
|||
}) |
|||
} |
|||
|
|||
//金融帮信息详情
|
|||
export function financeInfo(id:string) { |
|||
return request.http({ |
|||
url: '/api/huiqitong/finance_info/'+id, |
|||
method: 'GET' |
|||
}) |
|||
} |
|||
|
|||
//媒体帮列表
|
|||
export function mediumList(data:any) { |
|||
return request.http({ |
|||
url: '/api/huiqitong/medium_list', |
|||
method: 'GET', |
|||
data |
|||
}) |
|||
} |
|||
|
|||
//媒体帮内容详情
|
|||
export function mediumInfo(id:string) { |
|||
return request.http({ |
|||
url: '/api/huiqitong/medium_info/'+id, |
|||
method: 'GET' |
|||
}) |
|||
} |
|||
|
|||
//发布需求
|
|||
export function mediumAdd(data:any) { |
|||
return request.http({ |
|||
url: '/api/huiqitong/medium/add', |
|||
method: 'POST', |
|||
data |
|||
}) |
|||
} |
|||
|
|||
//我发布的媒体需求
|
|||
export function myMedium() { |
|||
return request.http({ |
|||
url: '/api/huiqitong/my_medium', |
|||
method: 'POST' |
|||
}) |
|||
} |
|||
|
|||
@ -1,44 +0,0 @@ |
|||
import { request } from '@/utils/http' |
|||
|
|||
// 获取投票选举(正在进行)
|
|||
export function getVoteprogress(id: string) { |
|||
return request.http({ |
|||
url: '/api/vote_progress?meetId='+ id, |
|||
method: 'GET' |
|||
}) |
|||
} |
|||
|
|||
//用户投票
|
|||
export function voteMember(data: any) { |
|||
return request.http({ |
|||
url: '/api/vote_member', |
|||
data |
|||
}) |
|||
} |
|||
|
|||
// 获取我的选举
|
|||
export function getMyvote(data: any) { |
|||
return request.http({ |
|||
url: '/api/my_vote', |
|||
method: 'GET', |
|||
data |
|||
}) |
|||
} |
|||
|
|||
// 手机号获取用户信息
|
|||
export function getMember_mobile(data: any) { |
|||
return request.http({ |
|||
url: '/api/member_mobile', |
|||
method: 'GET', |
|||
data |
|||
}) |
|||
} |
|||
|
|||
// 判断用户是否签到
|
|||
export function getIs_sign(data: any) { |
|||
return request.http({ |
|||
url: '/api/is_sign', |
|||
method: 'GET', |
|||
data |
|||
}) |
|||
} |
|||
@ -1,147 +0,0 @@ |
|||
export default [ |
|||
{ |
|||
"id": 6905, |
|||
"goods_list": [ |
|||
{ |
|||
"id": 65825, |
|||
"name": "晨间套餐", |
|||
} |
|||
], |
|||
"name": "早晨的享受", |
|||
"icon": '/static/img/cbz.png' |
|||
}, |
|||
{ |
|||
"id": 6906, |
|||
"goods_list": [ |
|||
{ |
|||
"id": 65826, |
|||
"name": "午后小食", |
|||
}, |
|||
{ |
|||
"id": 65827, |
|||
"name": "中午套餐", |
|||
} |
|||
], |
|||
"name": "午间时光" |
|||
}, |
|||
{ |
|||
"id": 6907, |
|||
"goods_list": [ |
|||
{ |
|||
"id": 65828, |
|||
"name": "早餐优惠", |
|||
}, |
|||
{ |
|||
"id": 65829, |
|||
"name": "下午茶特惠", |
|||
}, |
|||
{ |
|||
"id": 65830, |
|||
"name": "晚间美食", |
|||
} |
|||
], |
|||
"name": "欢乐时光" |
|||
}, |
|||
{ |
|||
"id": 6908, |
|||
"goods_list": [ |
|||
{ |
|||
"id": 65831, |
|||
"name": "清晨套餐", |
|||
} |
|||
], |
|||
"name": "幸福早餐" |
|||
}, |
|||
{ |
|||
"id": 6909, |
|||
"goods_list": [ |
|||
{ |
|||
"id": 65832, |
|||
"name": "午餐精选", |
|||
}, |
|||
{ |
|||
"id": 65833, |
|||
"name": "下午茶时光", |
|||
} |
|||
], |
|||
"name": "愉快午餐" |
|||
}, |
|||
{ |
|||
"id": 6910, |
|||
"goods_list": [ |
|||
{ |
|||
"id": 65834, |
|||
"name": "美好早餐", |
|||
}, |
|||
{ |
|||
"id": 65835, |
|||
"name": "美味早晨", |
|||
}, |
|||
{ |
|||
"id": 65836, |
|||
"name": "愉快下午", |
|||
}, |
|||
{ |
|||
"id": 65837, |
|||
"name": "健康午餐", |
|||
} |
|||
], |
|||
"name": "欢乐午后" |
|||
}, |
|||
{ |
|||
"id": 6911, |
|||
"goods_list": [ |
|||
{ |
|||
"id": 65838, |
|||
"name": "健康早餐", |
|||
}, |
|||
{ |
|||
"id": 65839, |
|||
"name": "经典早晨", |
|||
} |
|||
], |
|||
"name": "阳光早餐" |
|||
}, |
|||
{ |
|||
"id": 6912, |
|||
"goods_list": [ |
|||
{ |
|||
"id": 65840, |
|||
"name": "舒适午后", |
|||
}, |
|||
{ |
|||
"id": 65841, |
|||
"name": "下午茶优惠", |
|||
} |
|||
], |
|||
"name": "午后悠闲" |
|||
}, |
|||
{ |
|||
"id": 6913, |
|||
"goods_list": [ |
|||
{ |
|||
"id": 65842, |
|||
"name": "下午茶特惠", |
|||
} |
|||
], |
|||
"name": "茶歇时光" |
|||
}, |
|||
{ |
|||
"id": 6914, |
|||
"goods_list": [ |
|||
{ |
|||
"id": 65843, |
|||
// "content": "购买全麦面包,享水果茶半价",
|
|||
"name": "活力早餐", |
|||
// "images": "https://img-shop.qmimg.cn/s23107/2020/04/19/fda6dd99c83af02353.jpg?imageView2/2/w/400/h/400"
|
|||
}, |
|||
{ |
|||
"id": 65844, |
|||
// "content": "购买鸡蛋饼,享橙汁半价",
|
|||
"name": "早安时光", |
|||
// "images": "https://img-shop.qmimg.cn/s23107/2020/04/19/fda6dd99c83af02353.jpg?imageView2/2/w/400/h/400"
|
|||
} |
|||
], |
|||
"name": "晨间时光" |
|||
} |
|||
] |
|||
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 70 KiB |
|
Before Width: | Height: | Size: 124 KiB |
|
Before Width: | Height: | Size: 110 KiB |
Loading…
Reference in new issue