pay的小提交
This commit is contained in:
parent
962298ea98
commit
78a07b2097
|
|
@ -203,7 +203,7 @@ const triggers = [
|
|||
{
|
||||
name: '当pay的状态发生变化时,修改相应的order的状态或者account的状态,同时尝试向订阅者推送',
|
||||
entity: 'pay',
|
||||
action: ['startPaying', 'succeedPaying', 'startClosing', 'succeedClosing', 'startRefunding',
|
||||
action: ['startPaying', 'succeedPaying', 'continuePaying', 'startClosing', 'succeedClosing', 'startRefunding',
|
||||
'refundAll', 'refundPartially'],
|
||||
when: 'after',
|
||||
fn: async ({ operation }, context, option) => {
|
||||
|
|
|
|||
|
|
@ -206,7 +206,7 @@ const triggers = [
|
|||
{
|
||||
name: '当pay的状态发生变化时,修改相应的order的状态或者account的状态,同时尝试向订阅者推送',
|
||||
entity: 'pay',
|
||||
action: ['startPaying', 'succeedPaying', 'startClosing', 'succeedClosing', 'startRefunding',
|
||||
action: ['startPaying', 'succeedPaying', 'continuePaying', 'startClosing', 'succeedClosing', 'startRefunding',
|
||||
'refundAll', 'refundPartially'],
|
||||
when: 'after',
|
||||
fn: async ({ operation }, context, option) => {
|
||||
|
|
|
|||
|
|
@ -219,7 +219,7 @@ const triggers: Trigger<EntityDict, 'pay', BRC>[] = [
|
|||
{
|
||||
name: '当pay的状态发生变化时,修改相应的order的状态或者account的状态,同时尝试向订阅者推送',
|
||||
entity: 'pay',
|
||||
action: ['startPaying', 'succeedPaying', 'startClosing', 'succeedClosing', 'startRefunding',
|
||||
action: ['startPaying', 'succeedPaying', 'continuePaying', 'startClosing', 'succeedClosing', 'startRefunding',
|
||||
'refundAll', 'refundPartially'],
|
||||
when: 'after',
|
||||
fn: async ({ operation }, context, option) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue