| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618 |
- import request from '@/api/request.js'
- //我的消息列表
- function newsList(data){
- return request({
- url: '/api/ajax/mymessage',
- method: 'post',
- data
- })
- }
- // 阅读消息
- function msgRead(data){
- return request({
- url: '/api/Ajax/msgRead',
- method: 'get',
- data
- })
- }
- function payinfo(data){
- return request({
- url: '/api/article/payinfo',
- method: 'post',
- data
- })
- }
- //认购记录
- function buyOrderList(data){
- return request({
- url: '/api/Ajax/buyOrderList',
- method: 'get',
- data
- })
- }
- //我的奖品
- function myprize(data){
- return request({
- url: '/api/Ajax/myprize',
- method: 'get',
- data
- })
- }
- //合同数据
- function contract(data){
- return request({
- url: '/api/Ajax/contractList',
- method: 'get',
- data
- })
- }
- //保单数据
- function insurance(data){
- return request({
- url: '/api/Ajax/insuranceList',
- method: 'get',
- data
- })
- }
- //绑定银行卡
- function bindtxinfo(data){
- return request({
- url: '/api/vip/bindtxinfo',
- method: 'post',
- data
- })
- }
- //优惠卷
- function mycard(data){
- return request({
- url: '/api/Ajax/mycard',
- method: 'get',
- data
- })
- }
- //关于我们
- function about(data){
- return request({
- url: '/api/article/aboutindex2',
- method: 'get',
- data
- })
- }
- //导报详情
- function articledetail(data){
- return request({
- url: '/api/article/articledetail',
- method: 'get',
- data
- })
- }
- //分销中心主页
- function fxindex(data){
- return request({
- url: '/api/fx/index',
- method: 'get',
- data
- })
- }
- //一级用户 && 二级用户
- function myuser(data){
- return request({
- url: '/api/Fx/myuser',
- method: 'get',
- data
- })
- }
- //推广二维码
- function myqrcode(data){
- return request({
- url: '/api/fx/myqrcode',
- method: 'get',
- data
- })
- }
- //账号设置
- function vipIndex(data){
- return request({
- url: '/api/vip/index',
- method: 'get',
- data
- })
- }
- //会员信息
- function vipinfo(data){
- return request({
- url: '/api/vip/vipinfo',
- method: 'get',
- data
- })
- }
- //修改昵称
- function myinfo(data){
- return request({
- url: '/api/vip/myinfo',
- method: 'get',
- data
- })
- }
- //认证信息
- function rzIndex(data){
- return request({
- url: '/api/vip/index',
- method: 'get',
- data
- })
- }
- //获取验证码
- function getAuthSmsCode(data){
- return request({
- url: '/api/sms/getAuthSmsCode',
- method: 'post',
- data
- })
- }
- //提交认证
- function auth(data){
- return request({
- url: '/api/vip/auth',
- method: 'post',
- data
- })
- }
- //修改支付密码 获取验证码
- function getPayPwdCode(data){
- return request({
- url: '/api/sms/getPayPwdCode',
- method: 'post',
- data
- })
- }
- //确认修改密码
- function pay_password_reset(data){
- return request({
- url: '/api/vip/pay_password_reset',
- method: 'post',
- data
- })
- }
- //上传头像
- function addheadimg(data,files){
- return request({
- url: '/api/vip/addheadimg',
- method: 'post',
- data,
- // header: {
- // 'Content-Type': 'multipart/form-data',
- // },
- })
- }
- //绑定微信
- function bindwx(data,files){
- return request({
- url: '/api/wxlogin/bindwx',
- method: 'post',
- data
- })
- }
- //认购记录详情
- function orderDetail(data){
- return request({
- url: '/api/Buy/orderDetail',
- method: 'post',
- data,
- })
- }
- //认购记录详情
- function contract_info(data){
- return request({
- url: '/api/Vip/contract_info',
- method: 'get',
- data,
- })
- }
- //保单合同详情
- function policy(data){
- return request({
- url: '/api/Ajax/financeInsuranceDetail',
- method: 'get',
- data,
- })
- }
- // 分销政策
- function Fxabout(data){
- return request({
- url: '/api/Fx/about',
- method: 'get',
- data,
- })
- }
- // 我的推广
- function tjlog(data){
- return request({
- url: '/api/Fx/tjlog',
- method: 'get',
- data,
- })
- }
- // 已收佣金
- function fxlog(data){
- return request({
- url: '/api/Fx/fxlog',
- method: 'get',
- data,
- })
- }
- //取消认养订单
- function cancelOrder(data){
- return request({
- url: '/api/Buy/cancelOrder',
- method: 'get',
- data,
- })
- }
- //认养订单退款
- function finaceTuikuan(data){
- return request({
- url: '/api/ajax/finaceTuikuan',
- method: 'post',
- data,
- })
- }
- //常见问题列表
- function aboutquestion(data){
- return request({
- url: '/api/article/aboutquestion',
- method: 'post',
- data
- })
- }
- //农场入驻申请
- function farm_apply(data){
- return request({
- url: '/api/farm/farm_apply',
- method: 'post',
- data
- })
- }
- //农场入驻申请状态
- function apply_status(data){
- return request({
- url: '/api/farm/apply_status',
- method: 'post',
- data
- })
- }
- // 店铺列表
- function farm_list(data){
- return request({
- url: '/api/farm/farm_list',
- method: 'post',
- data
- })
- }
- // 店铺详情
- function farm_item(data){
- return request({
- url: '/api/farm/farm_item',
- method: 'post',
- data
- })
- }
- // 直播间列表
- function room_list(data){
- return request({
- url: '/api/wxlive/room_list',
- method: 'post',
- data
- })
- }
- // 直播间详情
- function roominfo(data){
- return request({
- url: '/api/wxlive/roominfo',
- method: 'post',
- data
- })
- }
- // 直播轮播
- function roomimgs(data){
- return request({
- url: '/api/wxlive/roomimgs',
- method: 'post',
- data
- })
- }
- // 土地巡检
- function inspection(data){
- return request({
- url: '/api/soil/inspection',
- method: 'post',
- data
- })
- }
- // 土地巡检提交
- function goinspection(data){
- return request({
- url: '/api/soil/goinspection',
- method: 'post',
- data
- })
- }
- // 认养管理
- function financeoperator(data){
- return request({
- url: '/api/buy/financeoperator',
- method: 'post',
- data
- })
- }
- // 认养管理
- function finantype(data){
- return request({
- url: '/api/buy/finantype',
- method: 'post',
- data
- })
- }
- // 认养管理提交
- function getfinance(data){
- return request({
- url: '/api/buy/getfinance',
- method: 'post',
- data
- })
- }
- // 认养日志
- function operatorlog(data){
- return request({
- url: '/api/buy/operatorlog',
- method: 'post',
- data
- })
- }
- // 配送信息
- function financedelivery(data){
- return request({
- url: '/api/buy/financedelivery',
- method: 'post',
- data
- })
- }
- // 认样排行
- function financeranking(data){
- return request({
- url: '/api/buy/financeranking',
- method: 'post',
- data
- })
- }
- // 店铺管理
- function storemanagement(data){
- return request({
- url: '/api/merchant/storemanagement',
- method: 'post',
- data
- })
- }
- // 修改密码
- function reset_pwd(data){
- return request({
- url: '/api/merchant/reset_pwd',
- method: 'post',
- data
- })
- }
- // 店铺提交
- function getmanagement(data){
- return request({
- url: '/api/merchant/getmanagement',
- method: 'post',
- data
- })
- }
- // 商品管理
- function shopmanagement(data){
- return request({
- url: '/api/merchant/shopmanagement',
- method: 'post',
- data
- })
- }
- // 商品分类
- function getcatelist(data){
- return request({
- url: '/api/merchant/getcatelist',
- method: 'post',
- data
- })
- }
- // 添加商品
- function addgoods(data){
- return request({
- url: '/api/merchant/addgoods',
- method: 'post',
- data
- })
- }
- // 上架
- function upshop(data){
- return request({
- url: '/api/merchant/upshop',
- method: 'post',
- data
- })
- }
- // 下架
- function downshop(data){
- return request({
- url: '/api/merchant/downshop',
- method: 'post',
- data
- })
- }
- // 编辑
- function editshop(data){
- return request({
- url: '/api/merchant/editshop',
- method: 'post',
- data
- })
- }
- // 编辑
- function goodinfo(data){
- return request({
- url: '/api/merchant/goodinfo',
- method: 'post',
- data
- })
- }
- // 上传图片(非富文本)
- function upshopimg(data){
- return request({
- url: '/api/merchant/upshopimg',
- method: 'post',
- data
- })
- }
- function teamindex(data) {
- return request({
- url: '/api/buy/teamindex',
- method: 'post',
- data
- })
- }
- // 上传图片(富文本)
- function uprichimg(data){
- return request({
- url: '/api/merchant/uprichimg',
- method: 'post',
- data
- })
- }
- //
- function farmshoplist(data){
- return request({
- url: '/api/farm/farmshoplist',
- method: 'post',
- data
- })
- }
- function farm_item2(data){
- return request({
- url: '/api/farm/farm_item2',
- method: 'post',
- data
- })
- }
- function farm_item3(data){
- return request({
- url: '/api/farm/farm_item3',
- method: 'post',
- data
- })
- }
- export default {
- roomimgs,
- roominfo,
- room_list,
- bindwx,
- finaceTuikuan,
- farm_item,
- apply_status,
- farm_list,
- farm_apply,
- newsList,
- msgRead,
- buyOrderList,
- myprize,
- contract,
- insurance,
- bindtxinfo,
- mycard,
- about,
- articledetail,
- fxindex,
- myuser,
- myqrcode,
- vipIndex,
- vipinfo,
- myinfo,
- rzIndex,
- getAuthSmsCode,
- auth,
- getPayPwdCode,
- pay_password_reset,
- addheadimg,
- orderDetail,
- payinfo,
- contract_info,
- policy,
- Fxabout,
- tjlog,
- fxlog,
- cancelOrder,
- aboutquestion,
- inspection,
- goinspection,
- financeoperator,
- finantype,
- getfinance,
- operatorlog,
- financedelivery,
- financeranking,
- storemanagement,
- reset_pwd,
- getmanagement,
- shopmanagement,
- getcatelist,
- addgoods,
- upshop,
- downshop,
- editshop,
- goodinfo,
- upshopimg,
- uprichimg,
- teamindex,
- farmshoplist,
- farm_item2,
- farm_item3
- }
|