Skip to content

Commit 39f8a9f

Browse files
authored
Merge pull request #9 from beclab/fix/app-event-error
feat: add payment template
2 parents 0f4d13a + 47498f7 commit 39f8a9f

1 file changed

Lines changed: 52 additions & 26 deletions

File tree

src/prisma/seeds.ts

Lines changed: 52 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -651,31 +651,57 @@ export const TemplateList = [
651651
level: Level.Info,
652652
user: '',
653653
status: ActiveStatus.Active
654+
},
655+
{
656+
topic: MessageTopic.SIGN,
657+
name: 'Application Payment',
658+
appId: 'market',
659+
appName: 'Market',
660+
appTemplateId: 'market.fetch.payment',
661+
defaultLanguage: 'en-US',
662+
content: {
663+
create: [
664+
{
665+
language: 'en-US',
666+
title: 'Fetch Application Payment',
667+
body: 'Your Olares ID is being authorized to check pay with the app. Please confirm that this is you. Click Confirm to agree, or Cancel to decline.'
668+
},
669+
{
670+
language: 'zh-CN',
671+
title: '应用支付检测',
672+
body: '您的 Olares ID 正在被授权应用支付检测。请确认是否是您本人操作。点击确认同意,点击取消拒绝操作。'
673+
}
674+
]
675+
},
676+
variables: [],
677+
user: '',
678+
level: Level.Sign,
679+
status: ActiveStatus.Active
680+
},
681+
{
682+
topic: MessageTopic.SIGN,
683+
name: 'Application Payment',
684+
appId: 'market',
685+
appName: 'Market',
686+
appTemplateId: 'market.payment',
687+
defaultLanguage: 'en-US',
688+
content: {
689+
create: [
690+
{
691+
language: 'en-US',
692+
title: 'Application Payment',
693+
body: 'Your Olares ID is being authorized to pay with the app. Please confirm that this is you. Click Confirm to agree, or Cancel to decline.'
694+
},
695+
{
696+
language: 'zh-CN',
697+
title: '应用支付',
698+
body: '您的 Olares ID 正在被授权应用支付。请确认是否是您本人操作。点击确认同意,点击取消拒绝操作。'
699+
}
700+
]
701+
},
702+
variables: [],
703+
user: '',
704+
level: Level.Sign,
705+
status: ActiveStatus.Active
654706
}
655-
// {
656-
// topic: MessageTopic.SIGN,
657-
// name: 'Application Payment',
658-
// appId: 'market',
659-
// appName: 'Market',
660-
// appTemplateId: 'market.fetch.payment',
661-
// defaultLanguage: 'en-US',
662-
// content: {
663-
// create: [
664-
// {
665-
// language: 'en-US',
666-
// title: 'Fetch Application Payment',
667-
// body: 'Your Olares ID is being authorized to check pay with the app. Please confirm that this is you. Click Confirm to agree, or Cancel to decline.'
668-
// },
669-
// {
670-
// language: 'zh-CN',
671-
// title: '绑定 Olares Space',
672-
// body: '您的 Olares ID 正在被授权应用支付检测。请确认是否是您本人操作。点击确认同意,点击取消拒绝操作。'
673-
// }
674-
// ]
675-
// },
676-
// variables: [],
677-
// user: '',
678-
// level: Level.Sign,
679-
// status: ActiveStatus.Active
680-
// }
681707
];

0 commit comments

Comments
 (0)