/**
 *@des 个人中心相关接口
 *@author 237524947@qq.com
 *@blog https://gitee.com/zscat/mallplus/wikis/pages/preview?sort_id=1703736&doc_id=326093
 *@date 2019/11/16 11:04:16
 */

const runData = '/runData';
const stepToBlance = '/stepToBlance';

// 个人信息
const selectOrderBYStep = '/selectOrderBYStep';
// 个人信息修改
const queryStepData = '/queryStepData';

const querypredepositcount = '/customer/querypredepositcount';
// 个人信息
const memberInfo = '/customerdetail';
// 个人信息修改
const memberUpdate = '/customer/updatepersonalinfo';

// 收货地址列表
const addressList = '/querycustomeraddress';
// 默认收货地址
const addressDefault = '/tiny-shop/v1/member/address/default';
// 默认收货地址
const addressDetail = '/querycustomeraddressbyid';
// 创建收货地址
const addressCreate = '/addaddress';
// 修改收货地址
const addressUpdate = '/updateaddress';
// 修改收货地址
const addressDelete = '/deletecustomeraddress';

// 获取优惠券列表
const couponList = '/getcouponlist';
// 获取我的优惠券列表
const myCouponList = '/coupons';
// 优惠券详情
const couponDetail = '/tiny-shop/v1/marketing/coupon-type/view';
// 领取优惠券
const couponReceive = '/tiny-shop/v1/marketing/coupon-type/create';
const couponClear = '/tiny-shop/v1/member/coupon/clear';

// 获取我的订单
const orderList = '/querycustomerorders';
// 订单确认收货
const orderTakeDelivery = '/receiptorder';
// 退货/退款申请
const orderRefundApply = '/tiny-shop/v1/member/order-product/refund-apply';
// 产品退货提交物流
const orderProductSalesReturn =
	'/tiny-shop/v1/member/order-product/refund-sales-return';
// 关闭退货/退款申请
const closeOrderRefundApply = '/tiny-shop/v1/member/order-product/refund-close';
// 获取订单详情
const orderDetail = '/orderdetail';
const orderByOrderCode = '/orderByOrderCode';


const ordersByCode = '/ordersByCode';
// 删除已关闭订单
const orderDelete = '/deleteorder';
// 添加我的足迹
const addbrowserecord= '/addbrowserecord';
// 获取我的足迹
const footPrintList = '/querybrowserecords';
// 删除我的足迹
const footPrintDel = '/tiny-shop/v1/member/footprint/delete';

// 收藏列表
const collectList = '/queryattentions';

const pointsList = '/points';
const pointsTotal = '/points/total';
const pointTotalList = '/pointTotal';
const querypointmallorderlist = '/querypointmallorderlist';// 分页查询用户积分商城订单列表
const submitpointmallorder = '/submitpointmallorder'; //提交积分商城订单
const confirmreceiptpointmallorder = '/confirmreceiptpointmallorder'; //积分商城订单确认收货
const querypointmallorderdetail = '/querypointmallorderdetail'; //查询积分商城订单详情
const pointorderCount = '/pointorder/count'; //积分订单统计

const querypointskulist = '/querypointskulist'; //分页查询积分商品信息
const querypointtype = '/querypointtype'; //查询所有积分商品分类
const querypointskudetail = '/querypointskudetail'; //查询积分商品信息详情
const queryhotpointskulist  = '/queryhotpointskulist'; //查询推荐的积分商品列表

// 余额日志
const creditsLogList = '/predeposits';

// 创建订单评价
const evaluateCreate = '/tiny-shop/v1/member/evaluate/create';
// 追加评价
const evaluateAgain = '/tiny-shop/v1/member/evaluate/again';
// 订单商品
const orderProductIndex = '/tiny-shop/v1/member/order-product/index';

// 发票列表
const invoiceList = '/tiny-shop/v1/member/invoice/index';
// 发票列表
const invoiceCreate = '/tiny-shop/v1/member/invoice/create';
// 发票编辑
const invoiceUpdate = '/tiny-shop/v1/member/invoice/update';
// 发票详情
const invoiceDetail = '/tiny-shop/v1/member/invoice/view';
// 默认发票
const invoiceDefault = '/tiny-shop/v1/member/invoice/default';
// 删除发票
const invoiceDel = '/tiny-shop/v1/member/invoice/delete';
// 开票列表
const orderInvoiceList = '/tiny-shop/v1/member/order-invoice/index';
// 发票补领
const orderInvoiceCreate = '/tiny-shop/v1/member/order-invoice/create';

// 意见反馈列表
const opinionList = '/complaint';
// 意见反馈创建
const opinionCreate = '/complaint';
// 意见反馈详情
const opinionDetail = '/complaintDetail';

// 第三方授权列表
const thirdPartyAuthList = '/tiny-shop/v1/member/auth/index';
// 解除第三方授权列表
const thirdPartyAuthDelete = '/tiny-shop/v1/member/auth/delete';

// 充值金额
const rechargeConfigIndex = '/tiny-shop/v1/member/recharge-config/index';

// 订单售后
// 申请退款/退货
const orderCustomerRefundApply = '/tiny-shop/v1/member/order-member/apply';
// 退货提交物流
const orderCustomerSalesReturn =
	'/tiny-shop/v1/member/order-member/sales-return';
// 退款/退货关闭申请
const orderCustomerRefundClose = '/tiny-shop/v1/member/order-member/close';

// 上传图片
const uploadImage = '/aliyun/oss/uploadToAliOss';

// 消息通知
// 消息列表
const notifyIndex = '/querymessages';
// 消息详情
const notifyView = '/tiny-shop/v1/member/notify/view';
// 单个消息阅读
const notifyRead = '/updatemessageisread';
// 全部已读
const notifyReadAll = '/tiny-shop/v1/member/notify/read-all';
// 删除一条或者多条
const notifyClear = '/notifyClear';
// 清空消息记录
const notifyClearAll = '/notifyClearAll';
// 未读消息个数
const notifyUnRreadCount = '/message/total';
// 消息提醒配置
const notifySubscriptionConfigIndex =
	'/tiny-shop/v1/member/notify-subscription-config/index';
// 修改消息提醒配置
const notifySubscriptionConfigUpConfig =
	'/tiny-shop/v1/member/notify-subscription-config/up-config';

// 虚拟码列表
const orderProductVirtualIndex =
	'/tiny-shop/v1/member/order-product-virtual/index';
// 虚拟码详情
const orderProductVirtualView =
	'/tiny-shop/v1/member/order-product-virtual/view';
// 虚拟码详情
const productVirtualVerificationVerify =
	'/tiny-shop/v1/order/product-virtual-verification/verify';

// 会员等级
const memberLevelIndex = '/tiny-shop/v1/member/member-level/index';

export {
	querypointskulist,orderByOrderCode,stepToBlance,
 querypointtype ,runData,selectOrderBYStep,queryStepData,
 querypointskudetail ,
 queryhotpointskulist,
	querypointmallorderlist ,
 submitpointmallorder ,
 confirmreceiptpointmallorder ,
 querypointmallorderdetail ,
 pointorderCount,
	pointsTotal,
	pointsList,
	pointTotalList,
	querypredepositcount,
	memberInfo,
	memberUpdate,
	addressList,
	addressCreate,
	addressDefault,
	addressDetail,
	addressUpdate,
	addressDelete,
	couponList,
	myCouponList,
	couponClear,
	couponDetail,
	orderList,
	orderRefundApply,
	closeOrderRefundApply,
	orderProductSalesReturn,
	orderDetail,
	ordersByCode,
	orderDelete,
	orderTakeDelivery,
	couponReceive,
	addbrowserecord,
	footPrintList,
	footPrintDel,
	collectList,
	creditsLogList,
	evaluateCreate,
	evaluateAgain,
	invoiceList,
	invoiceCreate,
	invoiceUpdate,
	invoiceDetail,
	invoiceDefault,
	invoiceDel,
	orderInvoiceCreate,
	orderInvoiceList,
	uploadImage,
	opinionList,
	opinionCreate,
	opinionDetail,
	thirdPartyAuthList,
	thirdPartyAuthDelete,
	rechargeConfigIndex,
	orderCustomerSalesReturn,
	orderCustomerRefundApply,
	orderCustomerRefundClose,
	orderProductIndex,
	notifyIndex,
	notifyView,
	notifyRead,
	notifyReadAll,
	notifyClear,
	notifyClearAll,
	notifyUnRreadCount,
	notifySubscriptionConfigUpConfig,
	notifySubscriptionConfigIndex,
	orderProductVirtualIndex,
	orderProductVirtualView,
	productVirtualVerificationVerify,
	memberLevelIndex
};