Commit 65197bad by Sixong.Zhu

u

parent 18a805f0
...@@ -10,6 +10,9 @@ const mapping = new Map<MessageType, string>([ ...@@ -10,6 +10,9 @@ const mapping = new Map<MessageType, string>([
[MessageType.MyWelfare, '我的福利'], [MessageType.MyWelfare, '我的福利'],
[MessageType.QuestionAnswer, '问答'], [MessageType.QuestionAnswer, '问答'],
[MessageType.Pay, '付款通知'], [MessageType.Pay, '付款通知'],
[MessageType.PayV1, '付款通知'],
[MessageType.Refund, '退款通知'],
[MessageType.RefundV1, '退款通知'],
]) ])
export function parserMessage(type: MessageType, rawMsg: string) { export function parserMessage(type: MessageType, rawMsg: string) {
......
...@@ -184,7 +184,9 @@ ...@@ -184,7 +184,9 @@
[dto.MessageType.QuestionAnswer, "question-answer-message"], [dto.MessageType.QuestionAnswer, "question-answer-message"],
[dto.MessageType.Action, "action-message"], [dto.MessageType.Action, "action-message"],
[dto.MessageType.Pay, "pay-message"], [dto.MessageType.Pay, "pay-message"],
[dto.MessageType.PayV1, "pay-message"],
[dto.MessageType.Refund, "pay-message"], [dto.MessageType.Refund, "pay-message"],
[dto.MessageType.RefundV1, "pay-message"],
]); ]);
@Component({ @Component({
...@@ -268,7 +270,9 @@ ...@@ -268,7 +270,9 @@
private get needReadTip() { private get needReadTip() {
return ( return (
this.data.type !== dto.MessageType.Pay && this.data.type !== dto.MessageType.Pay &&
this.data.type !== dto.MessageType.Refund this.data.type !== dto.MessageType.Refund &&
this.data.type !== dto.MessageType.PayV1 &&
this.data.type !== dto.MessageType.RefundV1
); );
} }
......
...@@ -114,7 +114,9 @@ export const enum MessageType { ...@@ -114,7 +114,9 @@ export const enum MessageType {
Action = "action", Action = "action",
Notify = "notify", Notify = "notify",
MpNavigate = "mp-navigate", MpNavigate = "mp-navigate",
PayV1 = 'gpay',
Pay = "gpay2", Pay = "gpay2",
RefundV1 = 'grefund',
Refund = "grefund2", Refund = "grefund2",
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment