This commit is contained in:
wkj 2025-06-16 09:51:19 +08:00
parent eb4aefdc04
commit 062c085af2
3 changed files with 3 additions and 3 deletions

View File

@ -6,6 +6,6 @@ import { BRC } from '../types/RuntimeCxt';
* @param context
* @param refunds
*/
export declare function updateWithdrawState(context: BRC, id: string): Promise<0 | 1>;
export declare function updateWithdrawState(context: BRC, id: string): Promise<1 | 0>;
declare const triggers: Trigger<EntityDict, 'withdraw', BRC>[];
export default triggers;

View File

@ -3,4 +3,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const AliPay_1 = tslib_1.__importDefault(require("./AliPay"));
const AliPay_debug_1 = tslib_1.__importDefault(require("./AliPay.debug"));
exports.default = AliPay_1.default; //仅dev使用debug
exports.default = process.env.NODE_ENV === 'development' ? AliPay_debug_1.default : AliPay_1.default; //仅dev使用debug

View File

@ -1,4 +1,4 @@
import AliPay from './AliPay';
import AliPayDebug from './AliPay.debug';
export default process.env.NODE_ENV === 'development' ? AliPayDebug : AliPay; //仅dev使用debug
export default process.env.NODE_ENV === 'development' ? AliPayDebug : AliPay;//仅dev使用debug