Prechádzať zdrojové kódy

fix:修改sop变量

jimmyyem 3 mesiacov pred
rodič
commit
7dff9b6ab5

+ 64 - 0
internal/logic/sop_task/get_sop_message_var_logic.go

@@ -30,12 +30,76 @@ func (l *GetSopMessageVarLogic) GetSopMessageVar() (resp *types.MessageVarResp,
 			Label: "昵称",
 			Value: "nickname",
 		},
+		{
+			Label: "姓名",
+			Value: "cname",
+		},
+		{
+			Label: "称呼",
+			Value: "ctitle",
+		},
+		{
+			Label: "身份证号",
+			Value: "cidcard_no",
+		},
+		{
+			Label: "地区",
+			Value: "carea",
+		},
+		{
+			Label: "籍贯",
+			Value: "cbirtharea",
+		},
+		{
+			Label: "出生日期",
+			Value: "cbirthday",
+		},
+		{
+			Label: "性别",
+			Value: "sex",
+		},
+		{
+			Label: "年龄",
+			Value: "cage",
+		},
 	}
 	resp.Data.ForwardVar = []types.MessageVarInfo{
 		{
 			Label: "昵称",
 			Value: "nickname",
 		},
+		{
+			Label: "姓名",
+			Value: "cname",
+		},
+		{
+			Label: "称呼",
+			Value: "ctitle",
+		},
+		{
+			Label: "身份证号",
+			Value: "cidcard_no",
+		},
+		{
+			Label: "地区",
+			Value: "carea",
+		},
+		{
+			Label: "籍贯",
+			Value: "cbirtharea",
+		},
+		{
+			Label: "出生日期",
+			Value: "cbirthday",
+		},
+		{
+			Label: "性别",
+			Value: "sex",
+		},
+		{
+			Label: "年龄",
+			Value: "cage",
+		},
 	}
 
 	return resp, nil