{"id":29553,"date":"2024-11-25T11:42:46","date_gmt":"2024-11-25T03:42:46","guid":{"rendered":"https:\/\/fwq.ai\/blog\/29553\/"},"modified":"2024-11-25T11:42:46","modified_gmt":"2024-11-25T03:42:46","slug":"c%e5%bc%80%e5%8f%91%e5%be%ae%e4%bf%a1%e5%a4%9a%e5%ae%a2%e6%9c%8d%e5%8a%9f%e8%83%bd%e5%8f%8a%e5%bc%80%e5%8f%91%e9%9b%86%e6%88%90%e5%ae%9e%e4%be%8b","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/29553\/","title":{"rendered":"C#\u5f00\u53d1\u5fae\u4fe1\u591a\u5ba2\u670d\u529f\u80fd\u53ca\u5f00\u53d1\u96c6\u6210\u5b9e\u4f8b"},"content":{"rendered":"<p>\u6700\u8fd1\u4e00\u76f4\u5728\u5f04\u5fae\u4fe1\u7684\u96c6\u6210\u529f\u80fd\u5f00\u53d1\uff0c\u53d1\u73b0\u5fae\u4fe1\u7ed9\u8ba4\u8bc1\u8d26\u6237\u5f00\u901a\u4e86\u4e00\u4e2a\u591a\u5ba2\u670d\u7684\u529f\u80fd\uff0c\u5bf9\u4e8e\u5ba2\u6237\u7684\u54a8\u8be2\uff0c\u53ef\u4ee5\u5207\u6362\u81f3\u5ba2\u670d\u5904\u7406\u7684\u65b9\u5f0f\uff0c\u800c\u4e14\u53ef\u4ee5\u6dfb\u52a0\u591a\u4e2a\u5ba2\u670d\u8fdb\u884c\u5904\u7406\uff0c\u8fd9\u4e2a\u5728\u5ba2\u6237\u54a8\u8be2\u6bd4\u8f83\u591a\u7684\u65f6\u5019\uff0c\u662f\u4e00\u4e2a\u4e0d\u9519\u7684\u8425\u9500\u529f\u80fd\u3002\u5fae\u4fe1\u591a\u5ba2\u670d\u7684\u529f\u80fd\uff0c\u80fd\u591f\u5728\u5f88\u5927\u7a0b\u5ea6\u4e0a\u5229\u7528\u5ba2\u670d\u5458\u5de5\u8d44\u6e90\uff0c\u53ca\u65f6\u8fc5\u901f\u5bf9\u5ba2\u6237\u54a8\u8be2\u4fe1\u606f\u8fdb\u884c\u5904\u7406\uff0c\u4e3a\u4f01\u4e1a\u5e26\u6765\u66f4\u591a\u7684\u673a\u4f1a\u548c\u5e02\u573a\u3002<\/p>\n<p>\u9ed8\u8ba4\u8fd9\u4e2a\u591a\u5ba2\u670d\u7684\u529f\u80fd\uff0c\u9700\u8981\u5728\u5fae\u4fe1\u516c\u4f17\u5e73\u53f0\u4e2d\u7684\u670d\u52a1\u4e2d\u5fc3\u8fdb\u884c\u4e3b\u52a8\u5f00\u901a\uff0c\u9ed8\u8ba4\u662f\u4e0d\u5f00\u901a\u7684\uff0c\u4e3a\u4e86\u4f53\u9a8c\u8fd9\u4e2a\u529f\u80fd\uff0c\u6211\u8fd9\u91cc\u628a\u591a\u5ba2\u670d\u529f\u80fd\u8fdb\u884c\u5f00\u901a\u3002<\/p>\n<h3>1\u3001\u591a\u5ba2\u670d\u51c6\u5907\u5de5\u4f5c<\/h3>\n<p>\u5fae\u4fe1\u7684\u591a\u5ba2\u670d\u529f\u80fd\uff0c\u5bf9\u4e8e\u5ba2\u670d\u7684\u54cd\u5e94\u64cd\u4f5c\uff0c\u65e2\u53ef\u4ee5\u5728\u7535\u8111\u7684\u5ba2\u6237\u7aef\u4e0a\u8fdb\u884c\u64cd\u4f5c\uff0c\u4e5f\u53ef\u4ee5\u5728\u5fae\u4fe1\u591a\u5ba2\u670d\u52a9\u624b\u8fdb\u884c\u4fe1\u606f\u5904\u7406\uff0c\u4e24\u8005\u90fd\u80fd\u5bf9\u5ba2\u6237\u7684\u4fe1\u606f\u8fdb\u884c\u56de\u5e94\u3001\u7ed3\u675f\u4f1a\u8bdd\u7b49\u64cd\u4f5c\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/000\/013\/68e71787b8730d27dacbb815d46d4f4a-0.png\" style=\"max-width:90%\" class=\"aligncenter\" title=\"C#\u5f00\u53d1\u5fae\u4fe1\u591a\u5ba2\u670d\u529f\u80fd\u53ca\u5f00\u53d1\u96c6\u6210\u5b9e\u4f8b\u63d2\u56fe\" alt=\"C#\u5f00\u53d1\u5fae\u4fe1\u591a\u5ba2\u670d\u529f\u80fd\u53ca\u5f00\u53d1\u96c6\u6210\u5b9e\u4f8b\u63d2\u56fe\" \/><\/p>\n<p>\u5f00\u901a\u5fae\u4fe1\u591a\u5ba2\u670d\u529f\u80fd\u540e\uff0c\u5c31\u9700\u8981\u6dfb\u52a0\u4e00\u4e9b\u5904\u7406\u5ba2\u6237\u4fe1\u606f\u7684\u5ba2\u670d\u5de5\u53f7\u4e86\u3002<\/p>\n<p>\u591a\u5ba2\u670d\u8d26\u53f7\u91c7\u7528\u201c\u5de5\u53f7@\u5fae\u4fe1\u53f7\u201d\u7684\u5f62\u5f0f\u8fdb\u884c\u767b\u5f55\uff0c\u8bf7\u60a8\u5728\u767b\u5f55\u7a97\u53e3\u4f9d\u7167\u4e0b\u56fe\u5f62\u5f0f\u8f93\u5165\u5e10\u53f7\u4fe1\u606f\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/000\/013\/e597912ee799f1428d29300236af096f-1.png\" style=\"max-width:90%\" class=\"aligncenter\" title=\"C#\u5f00\u53d1\u5fae\u4fe1\u591a\u5ba2\u670d\u529f\u80fd\u53ca\u5f00\u53d1\u96c6\u6210\u5b9e\u4f8b\u63d2\u56fe1\" alt=\"C#\u5f00\u53d1\u5fae\u4fe1\u591a\u5ba2\u670d\u529f\u80fd\u53ca\u5f00\u53d1\u96c6\u6210\u5b9e\u4f8b\u63d2\u56fe1\" \/><\/p>\n<h3>2\u3001\u4f7f\u7528\u591a\u5ba2\u670d\u5ba2\u6237\u7aef\u6216\u52a9\u624b\u64cd\u4f5c<\/h3>\n<p>\u5728\u7535\u8111\u5ba2\u6237\u7aef\u4e0a\u4f7f\u7528<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/000\/013\/e597912ee799f1428d29300236af096f-2.png\" style=\"max-width:90%\" class=\"aligncenter\" title=\"C#\u5f00\u53d1\u5fae\u4fe1\u591a\u5ba2\u670d\u529f\u80fd\u53ca\u5f00\u53d1\u96c6\u6210\u5b9e\u4f8b\u63d2\u56fe2\" alt=\"C#\u5f00\u53d1\u5fae\u4fe1\u591a\u5ba2\u670d\u529f\u80fd\u53ca\u5f00\u53d1\u96c6\u6210\u5b9e\u4f8b\u63d2\u56fe2\" \/><\/p>\n<p>\u5728\u624b\u673a\u5ba2\u6237\u7aef\u4e0a\u8fdb\u884c\u591a\u5ba2\u670d\u7684\u4f7f\u7528\uff0c\u5c31\u662f\u5173\u6ce8\u4e00\u4e2a\u8d26\u53f7\uff0c\u4fe1\u606f\u901a\u8fc7\u8f6c\u53d1\u5230\u8fd9\u91cc\u8fdb\u884c\u5904\u7406\u3002\u5173\u6ce8\u516c\u4f17\u53f7\u201d\u591a\u5ba2\u670d\u52a9\u624b\u201c\u5c31\u641e\u5b9a\u4e86\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/000\/013\/e597912ee799f1428d29300236af096f-3.png\" style=\"max-width:90%\" class=\"aligncenter\" title=\"C#\u5f00\u53d1\u5fae\u4fe1\u591a\u5ba2\u670d\u529f\u80fd\u53ca\u5f00\u53d1\u96c6\u6210\u5b9e\u4f8b\u63d2\u56fe3\" alt=\"C#\u5f00\u53d1\u5fae\u4fe1\u591a\u5ba2\u670d\u529f\u80fd\u53ca\u5f00\u53d1\u96c6\u6210\u5b9e\u4f8b\u63d2\u56fe3\" \/><\/p>\n<p>\u901a\u8fc7\u4e0a\u9762\u4e24\u79cd\u9014\u5f84\uff0c\u80fd\u591f\u5f88\u597d\u5904\u7406\u5ba2\u6237\u7684\u76f8\u5173\u4fe1\u606f\uff0c\u5176\u5b9e\u4e5f\u5c31\u662f\u7c7b\u4f3c\u7535\u8bdd\u5750\u5e2d\u7684\u65b9\u5f0f\uff0c\u8ba9\u4e0d\u540c\u7684\u5ba2\u670d\u5458\u5de5\uff0c\u5bf9\u6765\u8bbf\u7684\u5ba2\u6237\u8fdb\u884c\u5904\u7406\u3002<\/p>\n<h3>3\u3001\u5fae\u4fe1\u591a\u5ba2\u670d\u7684\u5f00\u53d1\u4f7f\u7528<\/h3>\n<p>\u5728\u5fae\u4fe1\u7684\u591a\u5ba2\u670d\u5f00\u53d1\u4ecb\u7ecd\u4e2d\uff0c\u5185\u5bb9\u4ecb\u7ecd\u7684\u6bd4\u8f83\u5c11\uff0c\u5982\u4e0b\u6240\u793a\u3002<\/p>\n<p>\u5728\u65b0\u7684\u5fae\u4fe1\u534f\u8bae\u4e2d\uff0c\u5f00\u53d1\u6a21\u5f0f\u4e5f\u53ef\u4ee5\u63a5\u5165\u5ba2\u670d\u7cfb\u7edf\u3002 \u5f00\u53d1\u8005\u5982\u679c\u9700\u8981\u4f7f\u7528\u5ba2\u670d\u7cfb\u7edf\uff0c\u9700\u8981\u5728\u63a5\u6536\u5230\u7528\u6237\u53d1\u9001\u7684\u6d88\u606f\u65f6\uff0c\u8fd4\u56de\u4e00\u4e2aMsgType\u4e3atransfer_customer_service\u7684\u6d88\u606f\uff0c\u5fae\u4fe1\u670d\u52a1\u5668\u5728\u6536\u5230\u8fd9\u6761\u6d88\u606f\u65f6\uff0c\u4f1a\u628a\u7528\u6237\u8fd9\u6b21\u53d1\u9001\u7684\u548c\u4ee5\u540e\u4e00\u6bb5\u65f6\u95f4\u5185\u53d1\u9001\u7684\u6d88\u606f\u8f6c\u53d1\u5ba2\u670d\u7cfb\u7edf\u3002\u8fd4\u56de\u7684\u6d88\u606f\u4e3e\u4f8b\u5982\u4e0b\u3002<\/p>\n<pre>&lt;xml&gt;\r\n&lt;ToUserName&gt;&lt;![CDATA[touser]]&gt;&lt;\/ToUserName&gt;\r\n&lt;FromUserName&gt;&lt;![CDATA[fromuser]]&gt;&lt;\/FromUserName&gt;\r\n&lt;CreateTime&gt;1399197672&lt;\/CreateTime&gt;\r\n&lt;MsgType&gt;&lt;![CDATA[transfer_customer_service]]&gt;&lt;\/MsgType&gt;\r\n&lt;\/xml&gt;<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u800c\u5728\u5f00\u53d1\u7684\u65f6\u5019\uff0c\u6211\u4eec\u4e00\u822c\u628a\u5b83\u5c01\u88c5\u4e3a\u4e00\u4e2a\u5b9e\u4f53\u7c7b\u4fe1\u606f\uff0c\u5982\u4e0b\u6240\u793a\u3002\u4e3b\u8981\u5c31\u662f\u6307\u5b9a\u6d88\u606f\u7c7b\u578b\uff0c\u548c\u7ffb\u8f6c\u4f20\u5165\u4f20\u51fa\u5bf9\u8c61\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n<pre>\/\/\/ &lt;summary&gt;\r\n    \/\/\/ \u5ba2\u670d\u6d88\u606f\r\n    \/\/\/ &lt;\/summary&gt;\r\n    [System.Xml.Serialization.XmlRoot(ElementName = \"xml\")]\r\n    public class ResponseCustomer : BaseMessage\r\n    {\r\n        public ResponseCustomer()\r\n        {\r\n            this.MsgType = ResponseMsgType.transfer_customer_service.ToString().ToLower();\r\n        }\r\n        public ResponseCustomer(BaseMessage info) : this()\r\n        {\r\n            this.FromUserName = info.ToUserName;\r\n            this.ToUserName = info.FromUserName;\r\n        }\r\n    }<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u7136\u540e\u8c03\u7528\u5904\u7406\u7684\u65f6\u5019\uff0c\u4ee3\u7801\u5982\u4e0b\u6240\u793a\u3002<\/p>\n<pre> ResponseCustomer customInfo = new ResponseCustomer(info);\r\n xml = customInfo.ToXml();<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u5982\u6211\u5728\u5ba2\u6237\u5e94\u7b54\u5904\u7406\u91cc\u9762\uff0c\u5ba2\u6237\u56de\u5e940\uff0c\u6211\u5c31\u5207\u6362\u8fdb\u5165\u5ba2\u670d\u6a21\u5f0f\uff0c\u8fd9\u6837\u5ba2\u6237\u540e\u7eed\u6240\u6709\u7684\u8f93\u5165\u5185\u5bb9\uff0c\u5747\u4e0d\u4f1a\u89e6\u53d1\u5fae\u4fe1\u95e8\u6237\u91cc\u9762\u7684\u89e3\u6790\uff0c\u800c\u8f6c\u53d1\u5230\u5ba2\u670d\u6a21\u5f0f\uff0c\u8ba9\u5ba2\u670d\u7684\u5de5\u53f7\u53ef\u4ee5\u548c\u5ba2\u6237\u8fdb\u884c\u4ea4\u8c08\u4e86\u3002<\/p>\n<pre>                \/\/\u5904\u7406 0 \u6307\u4ee4, \u4eba\u5de5\u5ba2\u670d\r\n                if (string.IsNullOrEmpty(xml) &amp;&amp; eventKey.Trim() == \"0\")\r\n                {\r\n                    xml = base.DealEvent(eventInfo, \"event_customservice\");\r\n                }<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u800c\u5728DealEvent\u91cc\u9762\uff0c\u6839\u636e\u8fd9\u4e2a\u6761\u4ef6\u8fdb\u884c\u5904\u7406\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n<pre>                \/\/\u4eba\u5de5\u5ba2\u670d\r\n                if (eventKey == \"event_customservice\")\r\n                {\r\n                    ResponseCustomer customInfo = new ResponseCustomer(info);\r\n                    xml = customInfo.ToXml();\r\n                }<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u901a\u8fc7\u4f7f\u7528\u591a\u5ba2\u670d\u7684\u5ba2\u6237\u7aef\uff0c\u8fd9\u6837\u5904\u7406\u6d88\u606f\u4ea4\u4e92\u8d77\u6765\u975e\u5e38\u65b9\u4fbf\uff0c\u80fd\u83b7\u5f97\u5ba2\u6237\u7684\u5bf9\u8bdd\u4fe1\u606f\u4e86\uff0c\u5728\u7535\u8111\u5ba2\u6237\u7aef\u4e0a\uff0c\u770b\u5230\u7684\u754c\u9762\u5982\u4e0b\u6240\u793a\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/000\/013\/3e4096dcdbe005217bb6376fd5980c2d-4.png\" style=\"max-width:90%\" class=\"aligncenter\" title=\"C#\u5f00\u53d1\u5fae\u4fe1\u591a\u5ba2\u670d\u529f\u80fd\u53ca\u5f00\u53d1\u96c6\u6210\u5b9e\u4f8b\u63d2\u56fe4\" alt=\"C#\u5f00\u53d1\u5fae\u4fe1\u591a\u5ba2\u670d\u529f\u80fd\u53ca\u5f00\u53d1\u96c6\u6210\u5b9e\u4f8b\u63d2\u56fe4\" \/><\/p>\n<p>\u624b\u673a\u4e0a\u7684\u8c08\u8bdd\u622a\u56fe\u5982\u4e0b\u6240\u793a\u3002<\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/000\/013\/3e4096dcdbe005217bb6376fd5980c2d-5.png\" style=\"max-width:90%\" class=\"aligncenter\" title=\"C#\u5f00\u53d1\u5fae\u4fe1\u591a\u5ba2\u670d\u529f\u80fd\u53ca\u5f00\u53d1\u96c6\u6210\u5b9e\u4f8b\u63d2\u56fe5\" alt=\"C#\u5f00\u53d1\u5fae\u4fe1\u591a\u5ba2\u670d\u529f\u80fd\u53ca\u5f00\u53d1\u96c6\u6210\u5b9e\u4f8b\u63d2\u56fe5\" \/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/000\/013\/a6d723ea71c2ef527f9ff46c44e36de9-6.png\" style=\"max-width:90%\" class=\"aligncenter\" title=\"C#\u5f00\u53d1\u5fae\u4fe1\u591a\u5ba2\u670d\u529f\u80fd\u53ca\u5f00\u53d1\u96c6\u6210\u5b9e\u4f8b\u63d2\u56fe6\" alt=\"C#\u5f00\u53d1\u5fae\u4fe1\u591a\u5ba2\u670d\u529f\u80fd\u53ca\u5f00\u53d1\u96c6\u6210\u5b9e\u4f8b\u63d2\u56fe6\" \/><\/p>\n<p>\u8fd9\u6837\u5c31\u80fd\u591f\u901a\u8fc7\u591a\u9014\u5f84\uff0c\u53ca\u65f6\u54cd\u5e94\u5ba2\u6237\u7684\u4fe1\u606f\u4e86\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662fC#\u5f00\u53d1\u5fae\u4fe1\u591a\u5ba2\u670d\u529f\u80fd\u53ca\u5f00\u53d1\u96c6\u6210\u5b9e\u4f8b\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u4e00\u76f4\u5728\u5f04\u5fae\u4fe1\u7684\u96c6\u6210\u529f\u80fd\u5f00\u53d1\uff0c\u53d1\u73b0\u5fae\u4fe1\u7ed9\u8ba4\u8bc1\u8d26\u6237\u5f00\u901a\u4e86\u4e00\u4e2a\u591a\u5ba2\u670d\u7684\u529f\u80fd\uff0c\u5bf9\u4e8e\u5ba2\u6237\u7684\u54a8\u8be2\uff0c\u53ef\u4ee5\u5207\u6362\u81f3\u5ba2\u670d\u5904\u7406\u7684\u65b9\u5f0f\uff0c\u800c\u4e14\u53ef\u4ee5\u6dfb\u52a0\u591a\u4e2a\u5ba2\u670d\u8fdb\u884c\u5904\u7406\uff0c\u8fd9\u4e2a\u5728\u5ba2\u6237\u54a8\u8be2\u6bd4\u8f83\u591a\u7684\u65f6\u5019\uff0c\u662f\u4e00\u4e2a\u4e0d\u9519\u7684\u8425\u9500\u529f\u80fd\u3002\u5fae\u4fe1\u591a\u5ba2\u670d\u7684\u529f\u80fd\uff0c\u80fd\u591f\u5728\u5f88\u5927\u7a0b\u5ea6\u4e0a\u5229\u7528\u5ba2\u670d\u5458\u5de5\u8d44\u6e90\uff0c\u53ca\u65f6\u8fc5\u901f\u5bf9\u5ba2\u6237\u54a8\u8be2\u4fe1\u606f\u8fdb\u884c\u5904\u7406\uff0c\u4e3a\u4f01\u4e1a\u5e26\u6765\u66f4\u591a\u7684\u673a\u4f1a\u548c\u5e02\u573a\u3002 \u9ed8\u8ba4\u8fd9\u4e2a\u591a\u5ba2\u670d\u7684\u529f\u80fd\uff0c\u9700\u8981\u5728\u5fae\u4fe1\u516c\u4f17\u5e73\u53f0\u4e2d\u7684\u670d\u52a1\u4e2d\u5fc3\u8fdb\u884c\u4e3b\u52a8\u5f00\u901a\uff0c\u9ed8\u8ba4\u662f\u4e0d\u5f00\u901a\u7684\uff0c\u4e3a\u4e86\u4f53\u9a8c\u8fd9\u4e2a\u529f\u80fd\uff0c\u6211\u8fd9\u91cc\u628a\u591a\u5ba2\u670d\u529f\u80fd\u8fdb\u884c\u5f00\u901a\u3002 1\u3001\u591a\u5ba2\u670d\u51c6\u5907\u5de5\u4f5c \u5fae\u4fe1\u7684\u591a\u5ba2\u670d\u529f\u80fd\uff0c\u5bf9\u4e8e\u5ba2\u670d\u7684\u54cd\u5e94\u64cd\u4f5c\uff0c\u65e2\u53ef\u4ee5\u5728\u7535\u8111\u7684\u5ba2\u6237\u7aef\u4e0a\u8fdb\u884c\u64cd\u4f5c\uff0c\u4e5f\u53ef\u4ee5\u5728\u5fae\u4fe1\u591a\u5ba2\u670d\u52a9\u624b\u8fdb\u884c\u4fe1\u606f\u5904\u7406\uff0c\u4e24\u8005\u90fd\u80fd\u5bf9\u5ba2\u6237\u7684\u4fe1\u606f\u8fdb\u884c\u56de\u5e94\u3001\u7ed3\u675f\u4f1a\u8bdd\u7b49\u64cd\u4f5c\u3002 \u5f00\u901a\u5fae\u4fe1\u591a\u5ba2\u670d\u529f\u80fd\u540e\uff0c\u5c31\u9700\u8981\u6dfb\u52a0\u4e00\u4e9b\u5904\u7406\u5ba2\u6237\u4fe1\u606f\u7684\u5ba2\u670d\u5de5\u53f7\u4e86\u3002 \u591a\u5ba2\u670d\u8d26\u53f7\u91c7\u7528\u201c\u5de5\u53f7@\u5fae\u4fe1\u53f7\u201d\u7684\u5f62\u5f0f\u8fdb\u884c\u767b\u5f55\uff0c\u8bf7\u60a8\u5728\u767b\u5f55\u7a97\u53e3\u4f9d\u7167\u4e0b\u56fe\u5f62\u5f0f\u8f93\u5165\u5e10\u53f7\u4fe1\u606f\u3002 2\u3001\u4f7f\u7528\u591a\u5ba2\u670d\u5ba2\u6237\u7aef\u6216\u52a9\u624b\u64cd\u4f5c \u5728\u7535\u8111\u5ba2\u6237\u7aef\u4e0a\u4f7f\u7528 \u5728\u624b\u673a\u5ba2\u6237\u7aef\u4e0a\u8fdb\u884c\u591a\u5ba2\u670d\u7684\u4f7f\u7528\uff0c\u5c31\u662f\u5173\u6ce8\u4e00\u4e2a\u8d26\u53f7\uff0c\u4fe1\u606f\u901a\u8fc7\u8f6c\u53d1\u5230\u8fd9\u91cc\u8fdb\u884c\u5904\u7406\u3002\u5173\u6ce8\u516c\u4f17\u53f7\u201d\u591a\u5ba2\u670d\u52a9\u624b\u201c\u5c31\u641e\u5b9a\u4e86\u3002 \u901a\u8fc7\u4e0a\u9762\u4e24\u79cd\u9014\u5f84\uff0c\u80fd\u591f\u5f88\u597d\u5904\u7406\u5ba2\u6237\u7684\u76f8\u5173\u4fe1\u606f\uff0c\u5176\u5b9e\u4e5f\u5c31\u662f\u7c7b\u4f3c\u7535\u8bdd\u5750\u5e2d\u7684\u65b9\u5f0f\uff0c\u8ba9\u4e0d\u540c\u7684\u5ba2\u670d\u5458\u5de5\uff0c\u5bf9\u6765\u8bbf\u7684\u5ba2\u6237\u8fdb\u884c\u5904\u7406\u3002 3\u3001\u5fae\u4fe1\u591a\u5ba2\u670d\u7684\u5f00\u53d1\u4f7f\u7528 \u5728\u5fae\u4fe1\u7684\u591a\u5ba2\u670d\u5f00\u53d1\u4ecb\u7ecd\u4e2d\uff0c\u5185\u5bb9\u4ecb\u7ecd\u7684\u6bd4\u8f83\u5c11\uff0c\u5982\u4e0b\u6240\u793a\u3002 \u5728\u65b0\u7684\u5fae\u4fe1\u534f\u8bae\u4e2d\uff0c\u5f00\u53d1\u6a21\u5f0f\u4e5f\u53ef\u4ee5\u63a5\u5165\u5ba2\u670d\u7cfb\u7edf\u3002 \u5f00\u53d1\u8005\u5982\u679c\u9700\u8981\u4f7f\u7528\u5ba2\u670d\u7cfb\u7edf\uff0c\u9700\u8981\u5728\u63a5\u6536\u5230\u7528\u6237\u53d1\u9001\u7684\u6d88\u606f\u65f6\uff0c\u8fd4\u56de\u4e00\u4e2aMsgType\u4e3atransfer_customer_service\u7684\u6d88\u606f\uff0c\u5fae\u4fe1\u670d\u52a1\u5668\u5728\u6536\u5230\u8fd9\u6761\u6d88\u606f\u65f6\uff0c\u4f1a\u628a\u7528\u6237\u8fd9\u6b21\u53d1\u9001\u7684\u548c\u4ee5\u540e\u4e00\u6bb5\u65f6\u95f4\u5185\u53d1\u9001\u7684\u6d88\u606f\u8f6c\u53d1\u5ba2\u670d\u7cfb\u7edf\u3002\u8fd4\u56de\u7684\u6d88\u606f\u4e3e\u4f8b\u5982\u4e0b\u3002 &lt;xml&gt; &lt;ToUserName&gt;&lt;![CDATA[touser]]&gt;&lt;\/ToUserName&gt; &lt;FromUserName&gt;&lt;![CDATA[fromuser]]&gt;&lt;\/FromUserName&gt; &lt;CreateTime&gt;1399197672&lt;\/CreateTime&gt; &lt;MsgType&gt;&lt;![CDATA[transfer_customer_service]]&gt;&lt;\/MsgType&gt; &lt;\/xml&gt; \u767b\u5f55\u540e\u590d\u5236 \u800c\u5728\u5f00\u53d1\u7684\u65f6\u5019\uff0c\u6211\u4eec\u4e00\u822c\u628a\u5b83\u5c01\u88c5\u4e3a\u4e00\u4e2a\u5b9e\u4f53\u7c7b\u4fe1\u606f\uff0c\u5982\u4e0b\u6240\u793a\u3002\u4e3b\u8981\u5c31\u662f\u6307\u5b9a\u6d88\u606f\u7c7b\u578b\uff0c\u548c\u7ffb\u8f6c\u4f20\u5165\u4f20\u51fa\u5bf9\u8c61\u5c31\u53ef\u4ee5\u4e86\u3002 \/\/\/ &lt;summary&gt; \/\/\/ \u5ba2\u670d\u6d88\u606f \/\/\/ &lt;\/summary&gt; [System.Xml.Serialization.XmlRoot(ElementName = &#8220;xml&#8221;)] public class ResponseCustomer : BaseMessage { public ResponseCustomer() { this.MsgType = ResponseMsgType.transfer_customer_service.ToString().ToLower(); } public ResponseCustomer(BaseMessage info) : this() { this.FromUserName = info.ToUserName; this.ToUserName = [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[],"class_list":["post-29553","post","type-post","status-publish","format-standard","hentry","category-19"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/29553","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=29553"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/29553\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=29553"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=29553"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=29553"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}