拆分91卡券共享模块
This commit is contained in:
@@ -8,16 +8,20 @@ import {
|
||||
import { notifyOpen91PendingConfig } from '../notification/domain-notifications.js'
|
||||
import {
|
||||
assertOpen91Config,
|
||||
OPEN_91_COST_EXCEED_FAIL_CODE,
|
||||
OPEN_91_DEFAULT_FAIL_CODE,
|
||||
} from './config.js'
|
||||
import {
|
||||
assertOpen91CreatePayload,
|
||||
assertOpen91Signature,
|
||||
assertOpen91Timestamp,
|
||||
normalizeOpen91CreatePayload,
|
||||
} from './payload.js'
|
||||
import { assertOpen91Signature } from './crypto.js'
|
||||
import {
|
||||
buildOpen91OrderCost,
|
||||
buildOpen91OutTradeNo,
|
||||
buildOpen91SuccessResponse,
|
||||
normalizeOpen91CreatePayload,
|
||||
OPEN_91_COST_EXCEED_FAIL_CODE,
|
||||
OPEN_91_DEFAULT_FAIL_CODE,
|
||||
} from './shared.js'
|
||||
} from './response.js'
|
||||
|
||||
export async function createOpen91Order(payload = {}, { requestId = '' } = {}) {
|
||||
const config = assertOpen91Config()
|
||||
|
||||
Reference in New Issue
Block a user