oak-pay-business/lib/triggers/deposit.js

15 lines
421 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const triggers = [
/* {
entity: 'deposit',
name: '当充值完成后生成相应的accountOper',
action: 'after',
when: 'before',
fn: async ({ operation }, context) => {
// 先放到pay succeedPaying的trigger里去一并处理了
return 0;
}
} as UpdateTriggerInTxn<EntityDict, 'deposit', BRC> */
];