import request from "@/utils/request.js"; import { host } from './config.js' //域名 // let host='http://192.168.0.109:8080' // let host='http://192.168.0.112:8080' /** * 账号密码登录 * @param {Object} data */ export function login(data) { return request({ url: `${host}/open/progressionLogin/logins`, method: "post", data }); } /** * 注册 * @param {Object} data */ export function register(data) { return request({ url: `${host}/open/progressionLogin/register`, method: "post", data }); } /** * 注册发送验证码 * @param {Object} data */ export function getTencent(data) { return request({ url: `${host}/open/progressionLogin/getTencentMsg`, method: "post", data }); } /** * 忘记密码发送验证码 * @param {Object} data */ export function getVerify(data) { return request({ url: `${host}/open/progressionLogin/getDynamic`, method: "get", data }); } /** * 忘记密码修改密码 * @param {Object} data */ export function forgetPassword(data) { return request({ url: `${host}/open/progressionLogin/forgetPassword`, method: "PUT", data }); } /** * 邀请人员排行榜 * @param {Object} data */ export function invitation(data) { return request({ url: `${host}/open/progression/invitation`, method: "get", data }); } /** * 轮播图 * @param {Object} data */ export function progressionslideshow(data) { return request({ url: `${host}/open/progression/slideshow`, method: "get", data }); } /** * 查询作品分类 * @param {Object} data */ export function progressionclassification(data) { return request({ url: `${host}/open/progression/classification`, method: "get", data }); } /** * 分类作品 * @param {Object} data */ export function progressionnewWorks(data) { return request({ url: `${host}/open/progression/newWorks`, method: "get", data }); } /** * 查询藏品名人 * @param {Object} data */ export function progressioncriticism(data) { return request({ url: `${host}/open/progression/criticism`, method: "get", data }); } /** * 查询轮播图详情 * @param {Object} data */ export function progressionslideshowDetails(data) { return request({ url: `${host}/open/progression/slideshowDetails`, method: "get", data }); } /** * 邀请人员排行 * @param {Object} data */ export function progressioninvitation(data) { return request({ url: `${host}/open/progression/invitation`, method: "get", data }); } /** * 藏品详情 * @param {Object} data */ export function controllerdetails(data) { return request({ url: `${host}/api/criticism/detailsColl`, method: "get", data, isfa:true }); } /** * 邀请人数查询 * @param {Object} data */ export function criticisminvite(data) { return request({ url: `${host}/api/criticism/invite`, method: "get", data, isfa:true }); } /** * 我的订单 * @param {Object} data */ export function criticismorder(data) { return request({ url: `${host}/api/criticism/order`, method: "get", data, isfa:true }); } /** * 我的藏品 * @param {Object} data */ export function criticismmycollection(data) { return request({ url: `${host}/api/criticism/mycollection`, method: "get", data, isfa:true }); } /** * 抢购接口 * @param {Object} data */ export function criticismsendDemoQueue(data) { return request({ url: `${host}/api/criticism/sendDemoQueue`, method: "post", data, isfa:true }); } /** * 重新发起支付 * @param {Object} data */ export function paypayreload(data) { return request({ url: `${host}/api/pay/payreload?id=${data.id}`, method: "post", data, isfa:true }); } /** * 修改订单 * @param {Object} data */ export function paypayResult(data) { return request({ url: `${host}/api/pay/payResult?id=${data.id}&orderStatus=${data.orderStatus}`, method: "post", data, isfa:true }); } /** * 支付购买 * @param {Object} data */ export function paypurchase(data) { return request({ url: `${host}/api/criticism/purchase`, method: "post", data, isfa:true }); } /** * 查询开放的支付方式 * @param {Object} data */ export function paypayway(data) { return request({ url: `${host}/api/pay/payway`, method: "get", data, isfa:true }); } /** * 订单详情 * @param {Object} data */ export function criticismdetails(data) { return request({ url: `${host}/api/criticism/details`, method: "get", data, isfa:true }); } /** * 修改个人资料 * @param {Object} data */ export function criticismmaterial(data) { return request({ url: `${host}/api/criticism/material`, method: "put", data, isfa:true }); } /** * 实名认证 * @param {Object} data */ export function criticismnotAutonym(data) { return request({ url: `${host}/api/criticism/notAutonym`, method: "get", data, isfa:true }); } /** * 我的藏品详情 * @param {Object} data */ export function criticismmydetails(data) { return request({ url: `${host}/api/criticism/mydetails`, method: "get", data, isfa:true }); } /** * 联系我们 * @param {Object} data */ export function progressioncontactUs(data) { return request({ url: `${host}/open/progression/contactUs`, method: "get", data, }); } /** * 用户协议 * @param {Object} data */ export function progressionUserAgreement(data) { return request({ url: `${host}/open/progression/UserAgreement`, method: "get", data, }); } /** * 隐私政策 * @param {Object} data */ export function progressionPrivacy(data) { return request({ url: `${host}/open/progression/Privacy`, method: "get", data, }); } /** * 邀请人生成图片 * @param {Object} data */ export function criticismgetInviteCodePoster(data) { return request({ url: `${host}/api/criticism/getInviteCodePoster`, method: "get", data, isfa:true }); } /** * 下载接口 * @param {Object} data */ export function criticismdownload(data) { return request({ url: `${host}/api/criticism/download`, method: "get", data, isfa:true }); } /** * 首页所有数据 * @param {Object} data */ export function progressionhomepage(data) { return request({ url: `${host}/open/progression/homepage`, method: "get", data, }); } /** * 获取二维码 * @param {Object} data */ export function captchaImage(data) { return request({ url: `${host}/open/progressionLogin/captchaImage`, method: "get", data, }); } /** * 查询我的盲盒 * @param {Object} data */ export function mycollectionBox(data) { return request({ url: `${host}/api/criticism/mycollectionBox`, method: "get", data, isfa:true }); } /** * 开启盲盒 * @param {Object} data */ export function criticismopenBox(data) { return request({ url: `${host}/api/criticism/openBox`, method: "get", data, isfa:true }); } /** * 转赠 * @param {Object} data */ export function donation(data) { return request({ url: `${host}/api/criticism/donation`, method: "get", data, isfa:true }); } /** * 转赠记录 * @param {Object} data */ export function mygift(data) { return request({ url: `${host}/api/criticism/mygift`, method: "get", data, isfa:true }); } /** * 受赠记录 * @param {Object} data */ export function Regifts(data) { return request({ url: `${host}/api/criticism/Regifts`, method: "get", data, isfa:true }); } /** * 获取合成列表 * @param {Object} data */ export function compoundlist(data) { return request({ url: `${host}/api/compound/list`, method: "get", data, isfa:true }); } /** * id查询合成规则 * @param {Object} data */ export function compoundlistid(data) { return request({ url: `${host}/api/compound/list/${data.id}`, method: "get", // data, isfa:true }); } /** * id查询我已有的藏品 * @param {Object} data */ export function compoundelect(data) { return request({ url: `${host}/api/compound/elect/${data.id}?pageNum=${data.pageNum}&pageSize=${data.pageSize}`, method: "get", // data, isfa:true }); } /** * 合成操作 * @param {Object} data */ export function compoundcomposition(data) { return request({ url: `${host}/api/compound/composition`, method: "post", data, isfa:true }); } /** * 我的藏品类型列表 * @param {Object} data */ export function mycollectionxx(data) { return request({ url: `${host}/api/criticism/mycollectionxx`, method: "get", data, isfa:true }); } /** * 用户设置支付密码 * @param {Object} data */ export function secondHandAreasettingUp(data) { return request({ url: `${host}/api/secondHandArea/settingUp`, method: "put", data, isfa:true }); } /** * 用户设置登录密码 * @param {Object} data */ export function particularsloginPassword(data) { return request({ url: `${host}/api/particulars/loginPassword`, method: "post", data, isfa:true }); } /** * 寄售作品 * @param {Object} data */ export function secondHandAreaallowtrade(data) { return request({ url: `${host}/api/secondHandArea/allowtrade`, method: "post", data, isfa:true }); } /** * 查询用户是否设置密码 * @param {Object} data */ export function secondHandAreatransactionPassword(data) { return request({ url: `${host}/api/secondHandArea/transactionPassword`, method: "get", data, isfa:true }); } /** * 查询钱包余额 * @param {Object} data */ export function criticismmywallet(data) { return request({ url: `${host}/api/criticism/mywallet`, method: "get", data, isfa:true }); } /** * 查询钱包余额明细 * @param {Object} data */ export function criticismmydetailed(data) { return request({ url: `${host}/api/criticism/mydetailed`, method: "get", data, isfa:true }); } /** * 绑定银行卡 * @param {Object} data */ export function criticismbank(data) { return request({ url: `${host}/api/criticism/bank`, method: "post", data, isfa:true }); } /** * 查询提现页面 * @param {Object} data */ export function criticismQuerywithdrawal(data) { return request({ url: `${host}/api/criticism/Querywithdrawal`, method: "post", data, isfa:true }); } /** * 申请提现 * @param {Object} data */ export function criticismWithdrawal(data) { return request({ url: `${host}/api/criticism/Withdrawal`, method: "post", data, isfa:true }); } /** * 查询提现记录 * @param {Object} data */ export function criticismwithdrawal(data) { return request({ url: `${host}/api/criticism/withdrawal`, method: "get", data, isfa:true }); } /** * 下架或修改价格 * @param {Object} data */ export function secondHandAreaupdateDeal(data) { return request({ url: `${host}/api/secondHandArea/updateDeal`, method: "put", data, isfa:true }); } /** * 查询二手交易市场 * @param {Object} data */ export function secondHandAgoraselectDeal(data) { return request({ url: `${host}/open/secondHandAgora/selectDeal`, method: "get", data // isfa:true }); } /** * 查询二手交易市场详情 * @param {Object} data */ export function secondHandAreaDealid(data) { return request({ url: `${host}/api/secondHandArea/Dealid`, method: "get", data, isfa:true }); } /** * 二手交易购买 * @param {Object} data */ export function secondHandAreapurchase(data) { return request({ url: `${host}/api/secondHandArea/purchase`, method: "get", data, isfa:true }); } /** * 查询我的寄售列表 * @param {Object} data */ export function secondHandAreaconsignmentList(data) { return request({ url: `${host}/api/secondHandArea/consignmentList`, method: "get", data, isfa:true }); } /** * 关于我们 * @param {Object} data */ export function criticismaboutMe(data) { return request({ url: `${host}/api/criticism/aboutMe`, method: "get", data, isfa:true }); } /** * 查询转赠时间 * @param {Object} data */ export function progressioncooling(data) { return request({ url: `${host}/open/progression/cooling`, method: "get", data, }); } /** * 查询公告 * @param {Object} data */ export function secondHandAreamarketState(data) { return request({ url: `${host}/api/secondHandArea/marketState`, method: "get", data, isfa:true }); } /** * 动态验证码 * @param {Object} data */ export function progressionLogingetDynamic(data) { return request({ url: `${host}/open/progressionLogin/getDynamic`, method: "get", data, // isfa:true }); } /** * 发送验证码 * @param {Object} data */ export function criticismmag(data) { return request({ url: `${host}/api/criticism/mag`, method: "post", data, isfa:true }); } /** * 确认支付 * @param {Object} data */ export function criticismpurchase(data) { return request({ url: `${host}/api/criticism/purchase`, method: "post", data, isfa:true }); } /** * 查看支付页面 * @param {Object} data */ export function criticismpay(data) { return request({ url: `${host}/api/criticism/pay`, method: "get", data, isfa:true }); } /** * 寄售协议 * @param {Object} data */ export function secondHandAgoraselectAgreement(data) { return request({ url: `${host}/open/secondHandAgora/selectAgreement`, method: "get", data, // isfa:true }); } /** * 银行卡解约 * @param {Object} data */ export function criticismcancelAuth(data) { return request({ url: `${host}/api/criticism/cancelAuth`, method: "get", data, isfa:true }); } /** * 签到 * @param {Object} data */ export function secondHandAreacheckIns(data) { return request({ url: `${host}/api/secondHandArea/checkIns`, method: "get", data, isfa:true }); } /** * 查询签到 * @param {Object} data */ export function secondHandAreaspar(data) { return request({ url: `${host}/api/secondHandArea/spar`, method: "get", data, isfa:true }); } /** * 权益说明 * @param {Object} data */ export function progressionEquity(data) { return request({ url: `${host}/open/progression/Equity`, method: "get", data }); } /** * 二级市场一级分类 * @param {Object} data */ export function secondHandAgoraselectSeries(data) { return request({ url: `${host}/open/secondHandAgora/selectSeries`, method: "get", data }); } /** * 二级市场分类下的种类 * @param {Object} data */ export function secondHandAgoraselectColl(data) { return request({ url: `${host}/open/secondHandAgora/selectColl`, method: "get", data }); }