1. 推广员功能增强
Some checks failed
CI / Test (ubuntu-latest) (push) Has been cancelled
CI / Test (windows-latest) (push) Has been cancelled
CI / Lint (ubuntu-latest) (push) Has been cancelled
CI / Lint (windows-latest) (push) Has been cancelled
CI / Check (ubuntu-latest) (push) Has been cancelled
CI / Check (windows-latest) (push) Has been cancelled
CI / CI OK (push) Has been cancelled
CodeQL / Analyze (javascript-typescript) (push) Has been cancelled
Deploy Website on push / Deploy Push Playground Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Docs Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Antd Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Element Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Naive Ftp (push) Has been cancelled
Release Drafter / update_release_draft (push) Has been cancelled

This commit is contained in:
李琦
2026-06-18 13:24:58 +08:00
parent 9a1435996e
commit f36ef45ee2
37 changed files with 2742 additions and 481 deletions

View File

@@ -96,6 +96,7 @@ export async function sendVerificationCode(params: {
if (params.account) {
return requestClient.post<AuthApi.SendCodeResult>('send-verification-code', {
account: params.account,
password: params.password,
admin_id: params.admin_id,
});
}

View File

@@ -0,0 +1,13 @@
import { requestClient } from '#/api/request';
const orderPrefix = 'order/';
export async function adjustOrderPercent(data: Record<string, any>) {
return requestClient.post(`${orderPrefix}adjust-order-percent`, data);
}
export async function getOrderPriceAdjustConfig(storeId?: number) {
return requestClient.get(`${orderPrefix}price-adjust-config`, {
params: storeId ? { store_id: storeId } : {},
});
}