完善微信公众号对接基础功能

This commit is contained in:
2020-02-20 16:31:10 +08:00
parent f28c84f3bb
commit acf28e8b6f
10 changed files with 1874 additions and 110 deletions
@@ -110,5 +110,41 @@ namespace COMCMS.Core
#region 业务操作
#endregion
#region 业务
public static string GetResponseType(int typeid)
{
//Text = 0,
//Location = 1,
//Image = 2,
//Voice = 3,
//Video = 4,
//Link = 5,
//ShortVideo = 6,
//Event = 7,
switch (typeid)
{
case 0:
return "text";
case 1:
return "location";
case 2:
return "image";
case 3:
return "voice";
case 4:
return "video";
case 5:
return "link";
case 6:
return "shortvideo";
case 7:
return "event";
default:
return "none";
}
}
#endregion
}
}