feat:支付宝支付
This commit is contained in:
1 parent
55d53def08
commit
f57b6ea7fc
8 files changed
+139
-37
No files matched your search
@@ -0,0 +1,44 @@
|
||||
import request from "@/sheep/utils/request"
|
||||
|
||||
export type AutoAdminLoginDto = {
|
||||
miniPlatformType?: string
|
||||
phoneCode?: string
|
||||
userCode?: string
|
||||
}
|
||||
|
||||
export type GetUniqueCodeDto = {
|
||||
miniPlatformType?: string
|
||||
code: string
|
||||
userId?: string
|
||||
}
|
||||
|
||||
export type AppPlusPayDto = {
|
||||
bizType: "MINI_APP_WALLET_RECHARGE"
|
||||
bizId: string
|
||||
miniPlatformType: string
|
||||
amount?: number
|
||||
openId: string
|
||||
}
|
||||
|
||||
export default {
|
||||
autoAdminLogin: (data: AutoAdminLoginDto) =>
|
||||
request({
|
||||
url: "/third/third-app-oath/auto-admin-login",
|
||||
method: "POST",
|
||||
data,
|
||||
}),
|
||||
|
||||
getUniqueCode: (data: GetUniqueCodeDto) =>
|
||||
request({
|
||||
url: "/third/third-app-oath/get-unique",
|
||||
method: "POST",
|
||||
data,
|
||||
}),
|
||||
|
||||
miniPay: (data: AppPlusPayDto) =>
|
||||
request({
|
||||
url: "/third/third-app-pay/app/pay",
|
||||
method: "POST",
|
||||
data,
|
||||
}),
|
||||
}
|
||||
@@ -2,6 +2,8 @@ export { default as accessStatsApi } from "./access-stats"
|
||||
export { default as actCancelApi } from "./act-cancel"
|
||||
export { default as deliveryApi } from "./delivery"
|
||||
export { default as adApi } from "./ad"
|
||||
export { default as appPlusPlatformApi } from "./app-plus-platform"
|
||||
export * from "./app-plus-platform"
|
||||
export { default as appVersionApi } from "./app-version"
|
||||
export { default as boxesApi } from "./boxes"
|
||||
export { default as canteenDeliveryApi } from "./canteen-delivery"
|
||||
|
||||
Reference in new issue
Block a user