Commit 65197bad by Sixong.Zhu

u

parent 18a805f0
......@@ -10,6 +10,9 @@ const mapping = new Map<MessageType, string>([
[MessageType.MyWelfare, '我的福利'],
[MessageType.QuestionAnswer, '问答'],
[MessageType.Pay, '付款通知'],
[MessageType.PayV1, '付款通知'],
[MessageType.Refund, '退款通知'],
[MessageType.RefundV1, '退款通知'],
])
export function parserMessage(type: MessageType, rawMsg: string) {
......
......@@ -184,7 +184,9 @@
[dto.MessageType.QuestionAnswer, "question-answer-message"],
[dto.MessageType.Action, "action-message"],
[dto.MessageType.Pay, "pay-message"],
[dto.MessageType.PayV1, "pay-message"],
[dto.MessageType.Refund, "pay-message"],
[dto.MessageType.RefundV1, "pay-message"],
]);
@Component({
......@@ -268,7 +270,9 @@
private get needReadTip() {
return (
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 {
Action = "action",
Notify = "notify",
MpNavigate = "mp-navigate",
PayV1 = 'gpay',
Pay = "gpay2",
RefundV1 = 'grefund',
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