feat(ops): 下单与核销纳入接口访问百分比
总部可按成功百分比拦截现场提货、配送下单,以及扫码、手机号和弱网核销,规则写入 v4 文档。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -102,7 +102,7 @@ export class ApiAccessService implements OnModuleInit {
|
||||
async updateGlobals(items: ApiAccessGlobalItem[]): Promise<ApiAccessFormResponse> {
|
||||
await this.adminReady();
|
||||
if (!Array.isArray(items) || items.length !== API_ACCESS_PERCENT_FEATURES.length) {
|
||||
throw new BadRequestException('需同时提交五个功能的成功百分比');
|
||||
throw new BadRequestException('需同时提交全部功能的成功百分比');
|
||||
}
|
||||
const seen = new Set<string>();
|
||||
for (const item of items) {
|
||||
|
||||
Reference in New Issue
Block a user