{"id":31017,"date":"2024-11-25T09:38:40","date_gmt":"2024-11-25T01:38:40","guid":{"rendered":"https:\/\/fwq.ai\/blog\/31017\/"},"modified":"2024-11-25T09:38:40","modified_gmt":"2024-11-25T01:38:40","slug":"%e5%be%ae%e4%bf%a1%e9%87%8c%e6%a3%80%e7%b4%a2kintone%e8%ae%b0%e5%bd%95%e4%bf%a1%e6%81%af%e7%9a%84%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/31017\/","title":{"rendered":"\u5fae\u4fe1\u91cc\u68c0\u7d22kintone\u8bb0\u5f55\u4fe1\u606f\u7684\u65b9\u6cd5"},"content":{"rendered":"<h2>\u6982\u8981<\/h2>\n<p>\u8fd1\u51e0\u5e74\u6765\u4f7f\u7528\u5fae\u4fe1\u516c\u4f17\u53f7\u7684\u4eba\u8d8a\u6765\u8d8a\u591a\uff0c\u6211\u4eec\u7684\u751f\u6d3b\u65b9\u5f0f\u4e5f\u968f\u4e4b\u53d1\u751f\u4e86\u5de8\u5927\u53d8\u5316\u3002<\/p>\n<p>kintone\u81ea\u7136\u4e5f\u4e0d\u7518\u843d\u540e\uff0c\u7d27\u8ddf\u65f6\u4ee3\u6b65\u4f10\u3002<\/p>\n<p>\u672c\u7bc7\u6587\u7ae0\u5c06\u4e3a\u5927\u5bb6\u4ecb\u7ecd\u5728\u5fae\u4fe1\u516c\u4f17\u53f7\u91cc\u68c0\u7d22kintone\u8bb0\u5f55\u4fe1\u606f\u7684\u65b9\u6cd5\u3002<\/p>\n<p>\u7b80\u5355\u5730\u8bf4\uff0c\u5c31\u662f\u6211\u4eec\u5c06\u5728kintone\u91cc\u65b0\u5efa\u4e00\u4e2a\u7ba1\u7406\u4f01\u4e1a\u4fe1\u606f\u7684\u5e94\u7528\uff0c\u7136\u540e\u5728\u5fae\u4fe1\u516c\u4f17\u53f7\u91cc\u8f93\u5165\u5173\u952e\u5b57\u6765\u68c0\u7d22\u8be5\u5e94\u7528\u91cc\u7684\u4fe1\u606f\u3002<\/p>\n<p>\u7531\u4e8e\u6b63\u5f0f\u516c\u4f17\u53f7\u9700\u8981\u8ba4\u8bc1\uff0c\u8fd9\u6b21\u6211\u4eec\u6682\u65f6\u4f7f\u7528\u5fae\u4fe1\u516c\u4f17\u8d26\u53f7\u6d4b\u8bd5\u53f7\u3002<\/p>\n<h2>\u5b8c\u6210\u540e\u7684\u6837\u5b50<\/h2>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/\/upload\/image\/543\/552\/484\/1511935143857637.gif\" class=\"aligncenter\" title=\"\u5fae\u4fe1\u91cc\u68c0\u7d22kintone\u8bb0\u5f55\u4fe1\u606f\u7684\u65b9\u6cd5\u63d2\u56fe\" alt=\"\u5fae\u4fe1\u91cc\u68c0\u7d22kintone\u8bb0\u5f55\u4fe1\u606f\u7684\u65b9\u6cd5\u63d2\u56fe\" \/><\/p>\n<h2>\u51c6\u5907<\/h2>\n<h3>kintone\u8bbe\u7f6e<br \/> <\/h3>\n<p>\u9996\u5148\u6839\u636e\u4e0a\u9762\u7684\u8bbe\u60f3\u6765\u521b\u5efakintone\u5e94\u7528\u3002\u6211\u521b\u5efa\u7684\u662f\u7b80\u6613\u7248\u7684\u4f01\u4e1a\u4fe1\u606f\u7ba1\u7406\u5e94\u7528\u3002<\/p>\n<table>\n<tbody>\n<tr>\n<th>\u5b57\u6bb5\u7c7b\u578b<\/th>\n<th>\u5b57\u6bb5\u540d\u79f0<\/th>\n<th>\u5b57\u6bb5\u4ee3\u7801<\/th>\n<th>\u5907\u6ce8<\/th>\n<\/tr>\n<tr>\n<td>\u521b\u5efa\u4eba<\/td>\n<td>\u521b\u5efa\u4eba<\/td>\n<td>\u521b\u5efa\u4eba<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\u521b\u5efa\u65f6\u95f4<\/td>\n<td>\u521b\u5efa\u65f6\u95f4<\/td>\n<td>\u521b\u5efa\u65f6\u95f4<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\u5355\u884c\u6587\u672c\u6846<\/td>\n<td>\u516c\u53f8\u540d<\/td>\n<td>company<\/td>\n<td>\n<p>\u8bbe\u4e3a\u5fc5\u586b\u9879<\/p>\n<p>\u503c\u4e3a\u552f\u4e00<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\u5355\u884c\u6587\u672c\u6846<\/td>\n<td>\u516c\u53f8\u4ee3\u8868<\/td>\n<td>representative<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\u5355\u884c\u6587\u672c\u6846<\/td>\n<td>\u5730\u57df<\/td>\n<td>area<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\u5355\u884c\u6587\u672c\u6846<\/td>\n<td>\u6240\u5728\u5730<\/td>\n<td>address<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\u5355\u884c\u6587\u672c\u6846<\/td>\n<td>\u516c\u53f8\u7535\u8bdd<\/td>\n<td>tel<\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5e94\u7528\u521b\u5efa\u6210\u529f\u540e\uff0c\u8f93\u5165\u4e09\u6761\u6570\u636e<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cybozudev.kf5.com\/attachments\/download\/3526729\/001591965000baad8073e7b96f69e2e\/\" class=\"aligncenter\" title=\"\u5fae\u4fe1\u91cc\u68c0\u7d22kintone\u8bb0\u5f55\u4fe1\u606f\u7684\u65b9\u6cd5\u63d2\u56fe1\" alt=\"\u5fae\u4fe1\u91cc\u68c0\u7d22kintone\u8bb0\u5f55\u4fe1\u606f\u7684\u65b9\u6cd5\u63d2\u56fe1\" \/><\/p>\n<h3>\u5fae\u4fe1\u516c\u4f17\u53f7\u8bbe\u7f6e<\/h3>\n<p>1. \u8bbf\u95ee\uff0c\u70b9\u51fb \u201c\u8fdb\u5165\u5fae\u4fe1\u516c\u4f17\u8d26\u53f7\u6d4b\u8bd5\u53f7\u7533\u8bf7\u7cfb\u7edf\u201d\uff0c\u7533\u8bf7\u5fae\u4fe1\u516c\u4f17\u8d26\u53f7\u6d4b\u8bd5\u53f7<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cybozudev.kf5.com\/attachments\/download\/3526891\/00159196b2ac96df7225b0b5c041196\/\" style=\"max-width:90%\" class=\"aligncenter\" title=\"\u5fae\u4fe1\u91cc\u68c0\u7d22kintone\u8bb0\u5f55\u4fe1\u606f\u7684\u65b9\u6cd5\u63d2\u56fe2\" alt=\"\u5fae\u4fe1\u91cc\u68c0\u7d22kintone\u8bb0\u5f55\u4fe1\u606f\u7684\u65b9\u6cd5\u63d2\u56fe2\" \/><\/p>\n<p>2. \u8fdb\u5165\u5fae\u4fe1\u516c\u4f17\u6d4b\u8bd5\u53f7<\/p>\n<p>\u5728\u6d4b\u8bd5\u53f7\u7ba1\u7406\u9875\u9762\u91cc\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u5230 appID \u548c appsecret\u3002\u628a\u8fd9\u4e24\u4e2a\u4fe1\u606f\u8bb0\u4e0b\u6765\uff0c\u63a5\u4e0b\u6765\u6709\u7528\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/\/upload\/image\/638\/622\/664\/1511935210776554.png\" style=\"max-width:90%\" class=\"aligncenter\" title=\"\u5fae\u4fe1\u91cc\u68c0\u7d22kintone\u8bb0\u5f55\u4fe1\u606f\u7684\u65b9\u6cd5\u63d2\u56fe3\" alt=\"\u5fae\u4fe1\u91cc\u68c0\u7d22kintone\u8bb0\u5f55\u4fe1\u606f\u7684\u65b9\u6cd5\u63d2\u56fe3\" \/><\/p>\n<p>3. \u586b\u5199\u63a5\u53e3\u914d\u7f6e\u4fe1\u606f<\/p>\n<p>\u6b64\u4fe1\u606f\u9700\u8981\u6709\u81ea\u5df1\u7684\u670d\u52a1\u5668\u8d44\u6e90\u3002\u7f51\u4e0a\u7684\u4e91\u670d\u52a1\u5668\u8d44\u6e90\u5f88\u591a\uff0c\u5927\u5bb6\u53ef\u4ee5\u81ea\u7531\u9009\u62e9\u3002<\/p>\n<p>\u5982\u679c\u5927\u5bb6\u6709\u5e26\u516c\u7f51ip\u7684\u670d\u52a1\u5668\u4e5f\u53ef\u4ee5\u4f7f\u7528\uff0c\u4e0b\u9762\u6211\u4eec\u4e3b\u8981\u4f7f\u7528php\u73af\u5883\uff08\u5177\u4f53\u670d\u52a1\u5668\u914d\u7f6e\u65b9\u5f0f\u7701\u7565\uff09<\/p>\n<p><span style=\"font-size: 16px\">\u63a5\u4e0b\u6765\u5199\u670d\u52a1\u5668\u9a8c\u8bc1\u4ee3\u7801\uff0c\u4f7f\u4e4b\u80fd\u6b63\u786e\u54cd\u5e94\u5fae\u4fe1\u53d1\u9001\u7684Token\u9a8c\u8bc1\u3002\u8be6\u7ec6\u53ef\u4ee5\u53c2\u8003<\/span><span style=\"font-size: 16px\">\u3002<\/span><\/p>\n<p><strong><img decoding=\"async\" src=\"https:\/\/img.php.cn\/\/upload\/image\/689\/453\/181\/1511935242595061.png\" class=\"aligncenter\" title=\"\u5fae\u4fe1\u91cc\u68c0\u7d22kintone\u8bb0\u5f55\u4fe1\u606f\u7684\u65b9\u6cd5\u63d2\u56fe4\" alt=\"\u5fae\u4fe1\u91cc\u68c0\u7d22kintone\u8bb0\u5f55\u4fe1\u606f\u7684\u65b9\u6cd5\u63d2\u56fe4\" \/><\/strong><\/p>\n<p><strong>\u4ee3\u7801<\/strong><\/p>\n<pre>&lt;?php define(\"APPID\", \"wxcbfaxxxxxx1814d4\");  \/\/appID\r\ndefine(\"APPSECRET\", \"604113xxxxxxxxxxxxxxx0bda2240c47\"); \/\/appsecret \r\ndefine(\"TOKEN\", \"cnDevNet\"); \/\/Token\r\n\r\nrequire \".\/wechat.inc.php\";\r\n$wechat = new WeChat(APPID, APPSECRET, TOKEN);\r\n$wechat-&gt;valid();&nbsp;\/\/Token\u9a8c\u8bc1\r\n?&amp;gt;<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<pre>class&nbsp;WeChat\r\n{\r\n&nbsp;&nbsp;&nbsp;&nbsp;private&nbsp;$_appid;\r\n&nbsp;&nbsp;&nbsp;&nbsp;private&nbsp;$_appsecret;\r\n&nbsp;&nbsp;&nbsp;&nbsp;private&nbsp;$_token;\r\n&nbsp;&nbsp;&nbsp;&nbsp;\r\n&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;function&nbsp;__construct($appid,&nbsp;$appsecret,&nbsp;$token)\r\n&nbsp;&nbsp;&nbsp;&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$this-&amp;gt;_appid&nbsp;=&nbsp;$appid;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$this-&amp;gt;_appsecret&nbsp;=&nbsp;$appsecret;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$this-&amp;gt;_token&nbsp;=&nbsp;$token;\r\n&nbsp;&nbsp;&nbsp;&nbsp;}\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;function&nbsp;valid()\r\n&nbsp;&nbsp;&nbsp;&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$echoStr&nbsp;=&nbsp;$_GET[\"echostr\"];\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\/\/valid&nbsp;signature&nbsp;,&nbsp;option\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if($this-&amp;gt;checkSignature())\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;$echoStr;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;exit;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}\r\n&nbsp;&nbsp;&nbsp;&nbsp;}\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;private&nbsp;function&nbsp;checkSignature()\r\n&nbsp;&nbsp;&nbsp;&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$signature&nbsp;=&nbsp;$_GET[\"signature\"];\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$timestamp&nbsp;=&nbsp;$_GET[\"timestamp\"];\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$nonce&nbsp;=&nbsp;$_GET[\"nonce\"];\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$token&nbsp;=&nbsp;$this-&amp;gt;_token;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$tmpArr&nbsp;=&nbsp;array($token,&nbsp;$timestamp,&nbsp;$nonce);\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sort($tmpArr);\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$tmpStr&nbsp;=&nbsp;implode(&nbsp;$tmpArr&nbsp;);\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$tmpStr&nbsp;=&nbsp;sha1(&nbsp;$tmpStr&nbsp;);\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(&nbsp;$tmpStr&nbsp;==&nbsp;$signature&nbsp;)\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;true;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;false;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}\r\n&nbsp;&nbsp;&nbsp;&nbsp;}\r\n}<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u70b9\u51fb\u63a5\u53e3\u914d\u7f6e\u4fe1\u606f\u7684 \u201c\u4fee\u6539\u201d\uff0c\u586b\u597dURL \u548c Token\u540e\uff0c\u70b9\u51fb \u201c\u63d0\u4ea4\u201d \u6309\u94ae\u3002<\/p>\n<p>\u770b\u5230\u4ee5\u4e0b\u4fe1\u606f\u7684\u8bdd\uff0c\u8bf4\u660e\u914d\u7f6e\u6210\u529f\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cybozudev.kf5.com\/attachments\/download\/3530249\/001591aa648878087556581891071e7\/\" class=\"aligncenter\" title=\"\u5fae\u4fe1\u91cc\u68c0\u7d22kintone\u8bb0\u5f55\u4fe1\u606f\u7684\u65b9\u6cd5\u63d2\u56fe5\" alt=\"\u5fae\u4fe1\u91cc\u68c0\u7d22kintone\u8bb0\u5f55\u4fe1\u606f\u7684\u65b9\u6cd5\u63d2\u56fe5\" \/><\/p>\n<h2>\u548ckintone\u5173\u8054<\/h2>\n<p>\u4e0b\u9762\u662f\u4e3b\u8981\u7684\u539f\u7406\u56fe\u3002\u5fae\u4fe1\u5c06\u6d88\u606f\u8f6c\u53d1\u7ed9\u670d\u52a1\u5668\uff0c\u670d\u52a1\u5668\u548ckintone\u4ea4\u4e92\u540e\uff0c\u5c06\u7ed3\u679c\u518d\u8fd4\u56de\u7ed9\u516c\u4f17\u53f7\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cybozudev.kf5.com\/attachments\/download\/3530761\/001591ab4e56d111f0195ab2a1872fe\/\" class=\"aligncenter\" title=\"\u5fae\u4fe1\u91cc\u68c0\u7d22kintone\u8bb0\u5f55\u4fe1\u606f\u7684\u65b9\u6cd5\u63d2\u56fe6\" alt=\"\u5fae\u4fe1\u91cc\u68c0\u7d22kintone\u8bb0\u5f55\u4fe1\u606f\u7684\u65b9\u6cd5\u63d2\u56fe6\" \/><\/p>\n<p>\u548ckintone\u7684\u4ea4\u4e92\uff0c\u6211\u4eec\u4e3b\u8981\u4f7f\u7528curl\u5de5\u5177\u548ckintone\u7684API\u6765\u68c0\u7d22\u8bb0\u5f55\uff0c\u5177\u4f53\u53ef\u4ee5\u53c2\u8003\u548c\u3002<\/p>\n<pre>\/\/&nbsp;\u8bf7\u6c42\u5934\u90e8\r\n$header&nbsp;=&nbsp;array(\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;\"Host:&nbsp;\"&nbsp;.&nbsp;$this-&amp;gt;_subDomain&nbsp;.&nbsp;\".cybozu.com:443\",\r\n&nbsp;&nbsp;&nbsp;&nbsp;\"X-Cybozu-API-Token:&nbsp;\"&nbsp;.&nbsp;$this-&amp;gt;_apiToken\r\n);\r\n\r\n$queryStr&nbsp;=&nbsp;'company&nbsp;like&nbsp;\"'.&nbsp;$keyword.&nbsp;'\"';\r\n$params&nbsp;=&nbsp;\"?app=$this-&amp;gt;_appId&amp;amp;query=\".urlencode($queryStr)\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.&nbsp;\"&amp;amp;fields[0]=\".&nbsp;urlencode(\"company\")\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.&nbsp;\"&amp;amp;fields[1]=\".&nbsp;urlencode(\"representative\")\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.&nbsp;\"&amp;amp;fields[2]=\".&nbsp;urlencode(\"area\")\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.&nbsp;\"&amp;amp;fields[3]=\".&nbsp;urlencode(\"address\")\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.&nbsp;\"&amp;amp;fields[4]=\".&nbsp;urlencode(\"tel\");\r\n\r\n$url&nbsp;=&nbsp;\"https:\/\/\"&nbsp;.&nbsp;$this-&amp;gt;_subDomain&nbsp;.&nbsp;\".cybozu.com\/k\/v1\/records.json\".&nbsp;$params;\r\n\r\n$response&nbsp;=&nbsp;$this-&amp;gt;_request($url,&nbsp;true,&nbsp;\"get\",&nbsp;null,&nbsp;$header);&nbsp;\/\/curl\u63d0\u4ea4\r\n$result&nbsp;=&nbsp;json_decode($response,&nbsp;true);\r\n\r\nif&nbsp;(count($result[\"records\"])&nbsp;&amp;gt;&nbsp;0)&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;foreach($result[\"records\"]&nbsp;as&nbsp;$value)&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;($contentStr&nbsp;!=&nbsp;'')&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$contentStr&nbsp;.=&nbsp;\"\n\n\";\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$contentStr&nbsp;.=&nbsp;\"\u516c\u53f8\u540d\uff1a\".&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$value[\"company\"][\"value\"].\"\n\"\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.&nbsp;\"\u516c\u53f8\u4ee3\u8868\uff1a\".&nbsp;$value[\"representative\"][\"value\"].\"\n\"\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.&nbsp;\"\u5730\u57df\uff1a\".&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$value[\"area\"][\"value\"].\"\n\"\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.&nbsp;\"\u6240\u5728\u5730\uff1a\".&nbsp;&nbsp;&nbsp;$value[\"address\"][\"value\"].\"\n\"\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.&nbsp;\"\u7535\u8bdd\uff1a\".&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$value[\"tel\"][\"value\"];\r\n&nbsp;&nbsp;&nbsp;&nbsp;}\r\n}\r\nelse&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;$contentStr&nbsp;=&nbsp;\"\u672a\u627e\u5230\u8be5\u4f01\u4e1a\u4fe1\u606f\";\r\n}<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<h2>\u8be6\u7ec6\u4ee3\u7801<\/h2>\n<\/p>\n<h2>\u53c2\u8003<\/h2>\n<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u5fae\u4fe1\u91cc\u68c0\u7d22kintone\u8bb0\u5f55\u4fe1\u606f\u7684\u65b9\u6cd5\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>\u6982\u8981 \u8fd1\u51e0\u5e74\u6765\u4f7f\u7528\u5fae\u4fe1\u516c\u4f17\u53f7\u7684\u4eba\u8d8a\u6765\u8d8a\u591a\uff0c\u6211\u4eec\u7684\u751f\u6d3b\u65b9\u5f0f\u4e5f\u968f\u4e4b\u53d1\u751f\u4e86\u5de8\u5927\u53d8\u5316\u3002 kintone\u81ea\u7136\u4e5f\u4e0d\u7518\u843d\u540e\uff0c\u7d27\u8ddf\u65f6\u4ee3\u6b65\u4f10\u3002 \u672c\u7bc7\u6587\u7ae0\u5c06\u4e3a\u5927\u5bb6\u4ecb\u7ecd\u5728\u5fae\u4fe1\u516c\u4f17\u53f7\u91cc\u68c0\u7d22kintone\u8bb0\u5f55\u4fe1\u606f\u7684\u65b9\u6cd5\u3002 \u7b80\u5355\u5730\u8bf4\uff0c\u5c31\u662f\u6211\u4eec\u5c06\u5728kintone\u91cc\u65b0\u5efa\u4e00\u4e2a\u7ba1\u7406\u4f01\u4e1a\u4fe1\u606f\u7684\u5e94\u7528\uff0c\u7136\u540e\u5728\u5fae\u4fe1\u516c\u4f17\u53f7\u91cc\u8f93\u5165\u5173\u952e\u5b57\u6765\u68c0\u7d22\u8be5\u5e94\u7528\u91cc\u7684\u4fe1\u606f\u3002 \u7531\u4e8e\u6b63\u5f0f\u516c\u4f17\u53f7\u9700\u8981\u8ba4\u8bc1\uff0c\u8fd9\u6b21\u6211\u4eec\u6682\u65f6\u4f7f\u7528\u5fae\u4fe1\u516c\u4f17\u8d26\u53f7\u6d4b\u8bd5\u53f7\u3002 \u5b8c\u6210\u540e\u7684\u6837\u5b50 \u51c6\u5907 kintone\u8bbe\u7f6e \u9996\u5148\u6839\u636e\u4e0a\u9762\u7684\u8bbe\u60f3\u6765\u521b\u5efakintone\u5e94\u7528\u3002\u6211\u521b\u5efa\u7684\u662f\u7b80\u6613\u7248\u7684\u4f01\u4e1a\u4fe1\u606f\u7ba1\u7406\u5e94\u7528\u3002 \u5b57\u6bb5\u7c7b\u578b \u5b57\u6bb5\u540d\u79f0 \u5b57\u6bb5\u4ee3\u7801 \u5907\u6ce8 \u521b\u5efa\u4eba \u521b\u5efa\u4eba \u521b\u5efa\u4eba \u521b\u5efa\u65f6\u95f4 \u521b\u5efa\u65f6\u95f4 \u521b\u5efa\u65f6\u95f4 \u5355\u884c\u6587\u672c\u6846 \u516c\u53f8\u540d company \u8bbe\u4e3a\u5fc5\u586b\u9879 \u503c\u4e3a\u552f\u4e00 \u5355\u884c\u6587\u672c\u6846 \u516c\u53f8\u4ee3\u8868 representative \u5355\u884c\u6587\u672c\u6846 \u5730\u57df area \u5355\u884c\u6587\u672c\u6846 \u6240\u5728\u5730 address \u5355\u884c\u6587\u672c\u6846 \u516c\u53f8\u7535\u8bdd tel \u5e94\u7528\u521b\u5efa\u6210\u529f\u540e\uff0c\u8f93\u5165\u4e09\u6761\u6570\u636e \u5fae\u4fe1\u516c\u4f17\u53f7\u8bbe\u7f6e 1. \u8bbf\u95ee\uff0c\u70b9\u51fb \u201c\u8fdb\u5165\u5fae\u4fe1\u516c\u4f17\u8d26\u53f7\u6d4b\u8bd5\u53f7\u7533\u8bf7\u7cfb\u7edf\u201d\uff0c\u7533\u8bf7\u5fae\u4fe1\u516c\u4f17\u8d26\u53f7\u6d4b\u8bd5\u53f7 2. \u8fdb\u5165\u5fae\u4fe1\u516c\u4f17\u6d4b\u8bd5\u53f7 \u5728\u6d4b\u8bd5\u53f7\u7ba1\u7406\u9875\u9762\u91cc\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u5230 appID \u548c appsecret\u3002\u628a\u8fd9\u4e24\u4e2a\u4fe1\u606f\u8bb0\u4e0b\u6765\uff0c\u63a5\u4e0b\u6765\u6709\u7528\u3002 3. \u586b\u5199\u63a5\u53e3\u914d\u7f6e\u4fe1\u606f \u6b64\u4fe1\u606f\u9700\u8981\u6709\u81ea\u5df1\u7684\u670d\u52a1\u5668\u8d44\u6e90\u3002\u7f51\u4e0a\u7684\u4e91\u670d\u52a1\u5668\u8d44\u6e90\u5f88\u591a\uff0c\u5927\u5bb6\u53ef\u4ee5\u81ea\u7531\u9009\u62e9\u3002 \u5982\u679c\u5927\u5bb6\u6709\u5e26\u516c\u7f51ip\u7684\u670d\u52a1\u5668\u4e5f\u53ef\u4ee5\u4f7f\u7528\uff0c\u4e0b\u9762\u6211\u4eec\u4e3b\u8981\u4f7f\u7528php\u73af\u5883\uff08\u5177\u4f53\u670d\u52a1\u5668\u914d\u7f6e\u65b9\u5f0f\u7701\u7565\uff09 \u63a5\u4e0b\u6765\u5199\u670d\u52a1\u5668\u9a8c\u8bc1\u4ee3\u7801\uff0c\u4f7f\u4e4b\u80fd\u6b63\u786e\u54cd\u5e94\u5fae\u4fe1\u53d1\u9001\u7684Token\u9a8c\u8bc1\u3002\u8be6\u7ec6\u53ef\u4ee5\u53c2\u8003\u3002 \u4ee3\u7801 &lt;?php [&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-31017","post","type-post","status-publish","format-standard","hentry","category-19"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/31017","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=31017"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/31017\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=31017"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=31017"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=31017"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}