@be-link/ecommerce-backend-bff-service-node-sdk 0.0.112 → 0.0.114
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/bff/modules/miniprogram/auth/service.d.ts +46 -0
- package/cjs/bff/modules/miniprogram/auth/service.js +66 -0
- package/cjs/bff/modules/miniprogram/auth/types.d.ts +133 -0
- package/cjs/bff/modules/miniprogram/franchisee/service.d.ts +12 -0
- package/cjs/bff/modules/miniprogram/franchisee/service.js +22 -0
- package/cjs/bff/modules/miniprogram/franchisee/types.d.ts +25 -0
- package/cjs/bff/modules/pandora/auth/service.d.ts +28 -0
- package/cjs/bff/modules/pandora/auth/service.js +42 -0
- package/cjs/bff/modules/pandora/auth/types.d.ts +94 -0
- package/cjs/bff/modules/pandora/auth/types.js +2 -0
- package/cjs/bff/modules/pandora/bd/service.d.ts +47 -0
- package/cjs/bff/modules/pandora/bd/service.js +67 -0
- package/cjs/bff/modules/pandora/bd/types.d.ts +157 -0
- package/cjs/bff/modules/pandora/bd/types.js +2 -0
- package/cjs/bff/modules/pandora/bdm/service.d.ts +35 -0
- package/cjs/bff/modules/pandora/{orderQuery → bdm}/service.js +18 -18
- package/cjs/bff/modules/pandora/bdm/types.d.ts +104 -0
- package/cjs/bff/modules/pandora/bdm/types.js +2 -0
- package/cjs/bff/modules/pandora/common/service.d.ts +34 -0
- package/cjs/bff/modules/pandora/common/service.js +50 -0
- package/cjs/bff/modules/pandora/common/types.d.ts +125 -0
- package/cjs/bff/modules/pandora/common/types.js +2 -0
- package/cjs/bff/modules/pandora/coupon/service.d.ts +59 -0
- package/cjs/bff/modules/pandora/coupon/service.js +83 -0
- package/cjs/bff/modules/pandora/coupon/types.d.ts +403 -0
- package/cjs/bff/modules/pandora/coupon/types.js +2 -0
- package/cjs/bff/modules/pandora/franchisee/service.d.ts +19 -0
- package/cjs/bff/modules/pandora/franchisee/service.js +43 -0
- package/cjs/bff/modules/pandora/franchisee/types.d.ts +204 -0
- package/cjs/bff/modules/pandora/franchisee/types.js +2 -0
- package/cjs/bff/modules/pandora/product/types.d.ts +6 -2
- package/cjs/bff/modules/pandora/productExp/service.d.ts +4 -4
- package/cjs/bff/modules/pandora/productExp/service.js +7 -7
- package/cjs/bff/modules/pandora/productExp/types.d.ts +31 -16
- package/cjs/bff/modules/pandora/productLive/service.d.ts +1 -1
- package/cjs/bff/modules/pandora/productLive/types.d.ts +1 -1
- package/cjs/bff/modules/pandora/role/service.d.ts +47 -0
- package/cjs/bff/modules/pandora/role/service.js +67 -0
- package/cjs/bff/modules/pandora/role/types.d.ts +135 -0
- package/cjs/bff/modules/pandora/role/types.js +2 -0
- package/cjs/bff/modules/pandora/storeClerk/service.d.ts +41 -0
- package/cjs/bff/modules/pandora/storeClerk/service.js +59 -0
- package/cjs/bff/modules/pandora/storeClerk/types.d.ts +130 -0
- package/cjs/bff/modules/pandora/storeClerk/types.js +2 -0
- package/cjs/bff/modules/pandora/storeManager/service.d.ts +47 -0
- package/cjs/bff/modules/pandora/storeManager/service.js +67 -0
- package/cjs/bff/modules/pandora/storeManager/types.d.ts +148 -0
- package/cjs/bff/modules/pandora/storeManager/types.js +2 -0
- package/cjs/bff/modules/pandora/user/service.d.ts +19 -0
- package/cjs/bff/modules/pandora/user/service.js +43 -0
- package/cjs/bff/modules/pandora/user/types.d.ts +178 -0
- package/cjs/bff/modules/pandora/user/types.js +2 -0
- package/cjs/bff/request/strategy.js +1 -0
- package/cjs/enums.d.ts +1 -0
- package/cjs/enums.js +4 -1
- package/cjs/index.d.ts +50 -6
- package/cjs/index.js +32 -10
- package/cjs/utils/env.js +3 -2
- package/cjs/utils/http.js +1 -1
- package/cjs/utils/string.js +1 -0
- package/esm/bff/modules/miniprogram/auth/service.d.ts +46 -0
- package/esm/bff/modules/miniprogram/auth/service.mjs +59 -0
- package/esm/bff/modules/miniprogram/auth/types.d.ts +133 -0
- package/esm/bff/modules/miniprogram/franchisee/service.d.ts +12 -0
- package/esm/bff/modules/miniprogram/franchisee/service.mjs +15 -0
- package/esm/bff/modules/miniprogram/franchisee/types.d.ts +25 -0
- package/esm/bff/modules/pandora/auth/service.d.ts +28 -0
- package/esm/bff/modules/pandora/auth/service.mjs +35 -0
- package/esm/bff/modules/pandora/auth/types.d.ts +94 -0
- package/esm/bff/modules/pandora/auth/types.mjs +1 -0
- package/esm/bff/modules/pandora/bd/service.d.ts +47 -0
- package/esm/bff/modules/pandora/bd/service.mjs +60 -0
- package/esm/bff/modules/pandora/bd/types.d.ts +157 -0
- package/esm/bff/modules/pandora/bd/types.mjs +1 -0
- package/esm/bff/modules/pandora/bdm/service.d.ts +35 -0
- package/esm/bff/modules/pandora/bdm/service.mjs +44 -0
- package/esm/bff/modules/pandora/bdm/types.d.ts +104 -0
- package/esm/bff/modules/pandora/bdm/types.mjs +1 -0
- package/esm/bff/modules/pandora/common/service.d.ts +34 -0
- package/esm/bff/modules/pandora/common/service.mjs +43 -0
- package/esm/bff/modules/pandora/common/types.d.ts +125 -0
- package/esm/bff/modules/pandora/common/types.mjs +1 -0
- package/esm/bff/modules/pandora/coupon/service.d.ts +59 -0
- package/esm/bff/modules/pandora/coupon/service.mjs +76 -0
- package/esm/bff/modules/pandora/coupon/types.d.ts +403 -0
- package/esm/bff/modules/pandora/coupon/types.mjs +1 -0
- package/esm/bff/modules/pandora/franchisee/service.d.ts +19 -0
- package/esm/bff/modules/pandora/franchisee/service.mjs +36 -0
- package/esm/bff/modules/pandora/franchisee/types.d.ts +204 -0
- package/esm/bff/modules/pandora/franchisee/types.mjs +1 -0
- package/esm/bff/modules/pandora/product/types.d.ts +6 -2
- package/esm/bff/modules/pandora/productExp/service.d.ts +4 -4
- package/esm/bff/modules/pandora/productExp/service.mjs +7 -7
- package/esm/bff/modules/pandora/productExp/types.d.ts +31 -16
- package/esm/bff/modules/pandora/productLive/service.d.ts +1 -1
- package/esm/bff/modules/pandora/productLive/types.d.ts +1 -1
- package/esm/bff/modules/pandora/role/service.d.ts +47 -0
- package/esm/bff/modules/pandora/role/service.mjs +60 -0
- package/esm/bff/modules/pandora/role/types.d.ts +135 -0
- package/esm/bff/modules/pandora/role/types.mjs +1 -0
- package/esm/bff/modules/pandora/storeClerk/service.d.ts +41 -0
- package/esm/bff/modules/pandora/storeClerk/service.mjs +52 -0
- package/esm/bff/modules/pandora/storeClerk/types.d.ts +130 -0
- package/esm/bff/modules/pandora/storeClerk/types.mjs +1 -0
- package/esm/bff/modules/pandora/storeManager/service.d.ts +47 -0
- package/esm/bff/modules/pandora/storeManager/service.mjs +60 -0
- package/esm/bff/modules/pandora/storeManager/types.d.ts +148 -0
- package/esm/bff/modules/pandora/storeManager/types.mjs +1 -0
- package/esm/bff/modules/pandora/user/service.d.ts +19 -0
- package/esm/bff/modules/pandora/user/service.mjs +36 -0
- package/esm/bff/modules/pandora/user/types.d.ts +178 -0
- package/esm/bff/modules/pandora/user/types.mjs +1 -0
- package/esm/bff/request/strategy.mjs +1 -0
- package/esm/enums.d.ts +1 -0
- package/esm/enums.mjs +2 -0
- package/esm/index.d.ts +50 -6
- package/esm/index.mjs +26 -4
- package/esm/utils/env.mjs +3 -2
- package/esm/utils/http.mjs +1 -1
- package/esm/utils/string.mjs +1 -0
- package/package.json +9 -5
- package/cjs/bff/modules/pandora/orderCore/service.d.ts +0 -23
- package/cjs/bff/modules/pandora/orderCore/service.js +0 -35
- package/cjs/bff/modules/pandora/orderCore/types.d.ts +0 -15
- package/cjs/bff/modules/pandora/orderQuery/service.d.ts +0 -35
- package/cjs/bff/modules/pandora/orderQuery/types.d.ts +0 -21
- package/esm/bff/modules/pandora/orderCore/service.d.ts +0 -23
- package/esm/bff/modules/pandora/orderCore/service.mjs +0 -28
- package/esm/bff/modules/pandora/orderCore/types.d.ts +0 -15
- package/esm/bff/modules/pandora/orderQuery/service.d.ts +0 -35
- package/esm/bff/modules/pandora/orderQuery/service.mjs +0 -44
- package/esm/bff/modules/pandora/orderQuery/types.d.ts +0 -21
- /package/cjs/bff/modules/{pandora/orderCore → miniprogram/auth}/types.js +0 -0
- /package/cjs/bff/modules/{pandora/orderQuery → miniprogram/franchisee}/types.js +0 -0
- /package/esm/bff/modules/{pandora/orderCore → miniprogram/auth}/types.mjs +0 -0
- /package/esm/bff/modules/{pandora/orderQuery → miniprogram/franchisee}/types.mjs +0 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import BaseService from '../../BaseService.mjs';
|
|
2
|
+
/**
|
|
3
|
+
* PandoraCommonService - Pandora Common 服务模块
|
|
4
|
+
* 提供 Pandora Common 相关的 API 方法
|
|
5
|
+
* 平台: pandora
|
|
6
|
+
*/
|
|
7
|
+
export class PandoraCommonService extends BaseService {
|
|
8
|
+
constructor() {
|
|
9
|
+
super(...arguments);
|
|
10
|
+
this.prefixUrl = '/pandora/common';
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* 获取所有权限节点
|
|
14
|
+
* @returns Promise,解析为标准响应格式
|
|
15
|
+
*/
|
|
16
|
+
getAllPermissions() {
|
|
17
|
+
return this.request(this.getAllPermissions, {});
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* 更新规则树
|
|
21
|
+
* @param request - 请求参数
|
|
22
|
+
* @returns Promise,解析为标准响应格式
|
|
23
|
+
*/
|
|
24
|
+
upsertRules(request) {
|
|
25
|
+
return this.request(this.upsertRules, request);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* 修改用户密码
|
|
29
|
+
* @param request - 请求参数
|
|
30
|
+
* @returns Promise,解析为标准响应格式
|
|
31
|
+
*/
|
|
32
|
+
updatePassword(request) {
|
|
33
|
+
return this.request(this.updatePassword, request);
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* 更新用户额外权限
|
|
37
|
+
* @param request - 请求参数
|
|
38
|
+
* @returns Promise,解析为标准响应格式
|
|
39
|
+
*/
|
|
40
|
+
updateUserExtraRules(request) {
|
|
41
|
+
return this.request(this.updateUserExtraRules, request);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { StandardResponse } from '../../../../types';
|
|
2
|
+
export declare namespace PandoraCommonService {
|
|
3
|
+
namespace Request {
|
|
4
|
+
/**
|
|
5
|
+
* 获取所有权限节点(不需要参数)
|
|
6
|
+
*/
|
|
7
|
+
interface getAllPermissions {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* 更新规则树
|
|
11
|
+
*/
|
|
12
|
+
interface upsertRules {
|
|
13
|
+
tree: Response.RuleNode[];
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* 修改用户密码
|
|
17
|
+
*/
|
|
18
|
+
interface updatePassword {
|
|
19
|
+
userId: string;
|
|
20
|
+
password: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* 更新用户额外权限
|
|
24
|
+
*/
|
|
25
|
+
interface updateUserExtraRules {
|
|
26
|
+
userId: string;
|
|
27
|
+
roleId: string;
|
|
28
|
+
extraRules: string[];
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
namespace Response {
|
|
32
|
+
/**
|
|
33
|
+
* 门店项
|
|
34
|
+
*/
|
|
35
|
+
interface StoreItem {
|
|
36
|
+
id: string;
|
|
37
|
+
name: string;
|
|
38
|
+
address?: string;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* 仓库项
|
|
42
|
+
*/
|
|
43
|
+
interface WarehouseItem {
|
|
44
|
+
id: string;
|
|
45
|
+
name: string;
|
|
46
|
+
address?: string;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* 规则节点(兼容老项目结构)
|
|
50
|
+
* 支持动态属性,可用于不同场景
|
|
51
|
+
*/
|
|
52
|
+
interface RuleNode {
|
|
53
|
+
id?: string;
|
|
54
|
+
pid?: string;
|
|
55
|
+
name: string;
|
|
56
|
+
path: string;
|
|
57
|
+
type: string;
|
|
58
|
+
icon: string;
|
|
59
|
+
status: string;
|
|
60
|
+
isShow: number;
|
|
61
|
+
sort?: number;
|
|
62
|
+
platform?: string;
|
|
63
|
+
ruleKey?: string;
|
|
64
|
+
background?: string;
|
|
65
|
+
selected?: boolean;
|
|
66
|
+
disabled?: boolean;
|
|
67
|
+
pages?: RuleNode[];
|
|
68
|
+
buttons?: RuleNode[];
|
|
69
|
+
[key: string]: any;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* 角色项
|
|
73
|
+
*/
|
|
74
|
+
interface RoleItem {
|
|
75
|
+
id: string;
|
|
76
|
+
roleName: string;
|
|
77
|
+
isPreset: number;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* 获取所有权限节点响应
|
|
81
|
+
*/
|
|
82
|
+
interface getAllPermissions {
|
|
83
|
+
rules: RuleNode[];
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* 更新规则树响应
|
|
87
|
+
*/
|
|
88
|
+
interface upsertRules {
|
|
89
|
+
success: boolean;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* 修改用户密码响应
|
|
93
|
+
*/
|
|
94
|
+
interface updatePassword {
|
|
95
|
+
success: boolean;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* 更新用户额外权限响应
|
|
99
|
+
*/
|
|
100
|
+
interface updateUserExtraRules {
|
|
101
|
+
success: boolean;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Common Controller 接口定义
|
|
106
|
+
*/
|
|
107
|
+
interface CommonController {
|
|
108
|
+
/**
|
|
109
|
+
* 获取所有权限节点(不需要参数)
|
|
110
|
+
*/
|
|
111
|
+
getAllPermissions(): Promise<StandardResponse<Response.getAllPermissions>>;
|
|
112
|
+
/**
|
|
113
|
+
* 更新规则树
|
|
114
|
+
*/
|
|
115
|
+
upsertRules(request: Request.upsertRules): Promise<StandardResponse<Response.upsertRules>>;
|
|
116
|
+
/**
|
|
117
|
+
* 修改用户密码
|
|
118
|
+
*/
|
|
119
|
+
updatePassword(request: Request.updatePassword): Promise<StandardResponse<Response.updatePassword>>;
|
|
120
|
+
/**
|
|
121
|
+
* 更新用户额外权限
|
|
122
|
+
*/
|
|
123
|
+
updateUserExtraRules(request: Request.updateUserExtraRules): Promise<StandardResponse<Response.updateUserExtraRules>>;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { CouponService as Service } from './types';
|
|
2
|
+
import BaseService from '../../BaseService';
|
|
3
|
+
import type { StandardResponse } from '../../../../types';
|
|
4
|
+
/**
|
|
5
|
+
* PandoraCouponService - Pandora Coupon 服务模块
|
|
6
|
+
* 提供 Pandora Coupon 相关的 API 方法
|
|
7
|
+
* 平台: pandora
|
|
8
|
+
*/
|
|
9
|
+
export declare class PandoraCouponService extends BaseService implements Service.CouponTemplateController {
|
|
10
|
+
protected prefixUrl: string;
|
|
11
|
+
/**
|
|
12
|
+
* 创建券模版
|
|
13
|
+
* @param request - 请求参数
|
|
14
|
+
* @returns Promise,解析为标准响应格式
|
|
15
|
+
*/
|
|
16
|
+
createCouponTemplate(request: Service.Request.createCouponTemplate): Promise<StandardResponse<void>>;
|
|
17
|
+
/**
|
|
18
|
+
* 作废券模版
|
|
19
|
+
* @param request - 请求参数
|
|
20
|
+
* @returns Promise,解析为标准响应格式
|
|
21
|
+
*/
|
|
22
|
+
abandonCouponTemplate(request: Service.Request.abandonCouponTemplate): Promise<StandardResponse<void>>;
|
|
23
|
+
/**
|
|
24
|
+
* 获取券模版列表
|
|
25
|
+
* @param request - 请求参数
|
|
26
|
+
* @returns Promise,解析为标准响应格式
|
|
27
|
+
*/
|
|
28
|
+
getCouponTemplateList(request: Service.Request.getCouponTemplateList): Promise<StandardResponse<Service.Response.getCouponTemplateList>>;
|
|
29
|
+
/**
|
|
30
|
+
* 增加券库存
|
|
31
|
+
* @param request - 请求参数
|
|
32
|
+
* @returns Promise,解析为标准响应格式
|
|
33
|
+
*/
|
|
34
|
+
addCouponStock(request: Service.Request.addCouponStock): Promise<StandardResponse<void>>;
|
|
35
|
+
/**
|
|
36
|
+
* 获取券模版详情
|
|
37
|
+
* @param request - 请求参数
|
|
38
|
+
* @returns Promise,解析为标准响应格式
|
|
39
|
+
*/
|
|
40
|
+
getCouponTemplateDetail(request: Service.Request.getCouponTemplateDetail): Promise<StandardResponse<Service.Response.getCouponTemplateDetail>>;
|
|
41
|
+
/**
|
|
42
|
+
* 同步券至火山直播
|
|
43
|
+
* @param request - 请求参数
|
|
44
|
+
* @returns Promise,解析为标准响应格式
|
|
45
|
+
*/
|
|
46
|
+
syncCouponToLive(request: Service.Request.syncCouponToLive): Promise<StandardResponse<void>>;
|
|
47
|
+
/**
|
|
48
|
+
* 修改券模版适用商品
|
|
49
|
+
* @param request - 请求参数
|
|
50
|
+
* @returns Promise,解析为标准响应格式
|
|
51
|
+
*/
|
|
52
|
+
updateCouponTemplateScope(request: Service.Request.updateCouponTemplateProduct): Promise<StandardResponse<void>>;
|
|
53
|
+
/**
|
|
54
|
+
* 获取券模版的使用商品
|
|
55
|
+
* @param request - 请求参数
|
|
56
|
+
* @returns Promise,解析为标准响应格式
|
|
57
|
+
*/
|
|
58
|
+
getProductScopeList(request: Service.Request.getProductScopeList): Promise<StandardResponse<Service.Response.getProductScopeList>>;
|
|
59
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import BaseService from '../../BaseService.mjs';
|
|
2
|
+
/**
|
|
3
|
+
* PandoraCouponService - Pandora Coupon 服务模块
|
|
4
|
+
* 提供 Pandora Coupon 相关的 API 方法
|
|
5
|
+
* 平台: pandora
|
|
6
|
+
*/
|
|
7
|
+
export class PandoraCouponService extends BaseService {
|
|
8
|
+
constructor() {
|
|
9
|
+
super(...arguments);
|
|
10
|
+
this.prefixUrl = '/pandora/coupon';
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* 创建券模版
|
|
14
|
+
* @param request - 请求参数
|
|
15
|
+
* @returns Promise,解析为标准响应格式
|
|
16
|
+
*/
|
|
17
|
+
createCouponTemplate(request) {
|
|
18
|
+
return this.request(this.createCouponTemplate, request);
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* 作废券模版
|
|
22
|
+
* @param request - 请求参数
|
|
23
|
+
* @returns Promise,解析为标准响应格式
|
|
24
|
+
*/
|
|
25
|
+
abandonCouponTemplate(request) {
|
|
26
|
+
return this.request(this.abandonCouponTemplate, request);
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* 获取券模版列表
|
|
30
|
+
* @param request - 请求参数
|
|
31
|
+
* @returns Promise,解析为标准响应格式
|
|
32
|
+
*/
|
|
33
|
+
getCouponTemplateList(request) {
|
|
34
|
+
return this.request(this.getCouponTemplateList, request);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* 增加券库存
|
|
38
|
+
* @param request - 请求参数
|
|
39
|
+
* @returns Promise,解析为标准响应格式
|
|
40
|
+
*/
|
|
41
|
+
addCouponStock(request) {
|
|
42
|
+
return this.request(this.addCouponStock, request);
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* 获取券模版详情
|
|
46
|
+
* @param request - 请求参数
|
|
47
|
+
* @returns Promise,解析为标准响应格式
|
|
48
|
+
*/
|
|
49
|
+
getCouponTemplateDetail(request) {
|
|
50
|
+
return this.request(this.getCouponTemplateDetail, request);
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* 同步券至火山直播
|
|
54
|
+
* @param request - 请求参数
|
|
55
|
+
* @returns Promise,解析为标准响应格式
|
|
56
|
+
*/
|
|
57
|
+
syncCouponToLive(request) {
|
|
58
|
+
return this.request(this.syncCouponToLive, request);
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* 修改券模版适用商品
|
|
62
|
+
* @param request - 请求参数
|
|
63
|
+
* @returns Promise,解析为标准响应格式
|
|
64
|
+
*/
|
|
65
|
+
updateCouponTemplateScope(request) {
|
|
66
|
+
return this.request(this.updateCouponTemplateScope, request);
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* 获取券模版的使用商品
|
|
70
|
+
* @param request - 请求参数
|
|
71
|
+
* @returns Promise,解析为标准响应格式
|
|
72
|
+
*/
|
|
73
|
+
getProductScopeList(request) {
|
|
74
|
+
return this.request(this.getProductScopeList, request);
|
|
75
|
+
}
|
|
76
|
+
}
|