1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- /**
- * 这是商品资料库相关的业务逻辑的服务
- */
- export default class BeautyArchiveService {
- constructor(AjaxService) {
- Object.assign(this, { AjaxService })
- this.name = 'BeautyArchiveService'
- }
- /* 获取资料库商品列表 */
- GetArchiveProduct(data = {}) {
- return this.AjaxService.get({
- url: '/commodity/product/archive',
- data,
- isLoading: true,
-
- })
- }
- /* 获取商品资料列表 */
- GetProdcutArchiveDetails(data = {}) {
- return this.AjaxService.get({
- url: '/commodity/product/archive/detail',
- data,
- isLoading: false,
-
- })
- }
- /* 采美豆抵扣 */
- SearchArchiveByBeans(data = {}) {
- return this.AjaxService.post({
- url: '/user/club/archive/deduction',
- data,
- isLoading: true,
-
- })
- }
-
- // 用户浏览资料记录
- GetStatisticsAddPv(data = {}) {
- return this.AjaxService.get({
- url: '/commodity/statistics/addPv',
- data,
- isLoading: true,
-
- })
- }
-
- }
|