123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207 |
- /**
- *@des 个人中心相关接口
- *@author stav stavyan@qq.com
- *@blog https://stavtop.club
- *@date 2019/11/16 11:04:16
- */
- // 个人信息
- const memberInfo = '/tiny-shop/v1/member/member/index';
- // 个人信息修改
- const memberUpdate = '/tiny-shop/v1/member/member/update';
- // 收货地址列表
- const addressList = '/tiny-shop/v1/member/address/index';
- // 默认收货地址
- const addressDefault = '/tiny-shop/v1/member/address/default';
- // 默认收货地址
- const addressDetail = '/tiny-shop/v1/member/address/view';
- // 创建收货地址
- const addressCreate = '/tiny-shop/v1/member/address/create';
- // 修改收货地址
- const addressUpdate = '/tiny-shop/v1/member/address/update';
- // 修改收货地址
- const addressDelete = '/tiny-shop/v1/member/address/delete';
- // 获取优惠券列表
- const couponList = '/tiny-shop/v1/marketing/coupon-type/index';
- // 获取我的优惠券列表
- const myCouponList = '/tiny-shop/v1/member/coupon/index';
- // 优惠券详情
- 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 = '/tiny-shop/v1/member/order/index';
- // 订单确认收货
- const orderTakeDelivery = '/tiny-shop/v1/member/order/take-delivery';
- // 退货/退款申请
- 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 = '/tiny-shop/v1/member/order/view';
- // 删除已关闭订单
- const orderDelete = '/tiny-shop/v1/member/order/delete';
- // 获取我的足迹
- const footPrintList = '/tiny-shop/v1/member/footprint/index';
- // 删除我的足迹
- const footPrintDel = '/tiny-shop/v1/member/footprint/delete';
- // 收藏列表
- const collectList = '/tiny-shop/v1/member/collect/index';
- // 积分余额日志
- const creditsLogList = '/tiny-shop/v1/member/credits-log/index';
- // 创建订单评价
- 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 = '/tiny-shop/v1/member/opinion/index';
- // 意见反馈创建
- const opinionCreate = '/tiny-shop/v1/member/opinion/create';
- // 意见反馈详情
- const opinionDetail = '/tiny-shop/v1/member/opinion/view';
- // 第三方授权列表
- 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-customer/apply';
- // 退货提交物流
- const orderCustomerSalesReturn =
- '/tiny-shop/v1/member/order-customer/sales-return';
- // 退款/退货关闭申请
- const orderCustomerRefundClose = '/tiny-shop/v1/member/order-customer/close';
- // 上传图片
- const uploadImage = '/tiny-shop/v1/common/file/images';
- // 消息通知
- // 消息列表
- const notifyIndex = '/tiny-shop/v1/member/notify/index';
- // 消息详情
- const notifyView = '/tiny-shop/v1/member/notify/view';
- // 单个消息阅读
- const notifyRead = '/tiny-shop/v1/member/notify/read';
- // 全部已读
- const notifyReadAll = '/tiny-shop/v1/member/notify/read-all';
- // 删除一条或者多条
- const notifyClear = '/tiny-shop/v1/member/notify/clear';
- // 清空消息记录
- const notifyClearAll = '/tiny-shop/v1/member/notify/clear-all';
- // 未读消息个数
- const notifyUnRreadCount = '/tiny-shop/v1/member/notify/un-read-count';
- // 消息提醒配置
- 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 {
- memberInfo,
- memberUpdate,
- addressList,
- addressCreate,
- addressDefault,
- addressDetail,
- addressUpdate,
- addressDelete,
- couponList,
- myCouponList,
- couponClear,
- couponDetail,
- orderList,
- orderRefundApply,
- closeOrderRefundApply,
- orderProductSalesReturn,
- orderDetail,
- orderDelete,
- orderTakeDelivery,
- couponReceive,
- 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
- };
|