{"id":123391,"date":"2026-11-07T06:00:44","date_gmt":"2026-11-06T22:00:44","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/123391.html"},"modified":"2026-11-07T06:00:44","modified_gmt":"2026-11-06T22:00:44","slug":"app%e6%95%b0%e6%8d%ae%e9%87%87%e9%9b%86%e5%b1%b1%e5%a7%86%e4%bc%9a%e5%91%98%e5%95%86%e5%ba%97app%e9%80%86%e5%90%91%e5%8d%8f%e8%ae%ae%e9%87%87%e9%9b%86","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/123391.html","title":{"rendered":"APP\u6570\u636e\u91c7\u96c6:\u5c71\u59c6\u4f1a\u5458\u5546\u5e97APP\u9006\u5411\u534f\u8bae\u91c7\u96c6"},"content":{"rendered":"<p>        \/* MD \/ \u5bcc\u6587\u672c\u4e2d\u7684 .toc\uff08\u542b\u535a\u5ba2\u56ed\u642c\u5bb6\u7b49\u5d4c\u5957\u7ed3\u6784\uff09\uff1b.toc-box \u5728\u4fa7\u680f\uff0c\u4e0d\u53d7\u5f71\u54cd *\/<br \/>\n        #content_views .toc,<br \/>\n        \/* \u7f16\u8f91\u5668\u5e38\u5728\u76ee\u5f55\u524d\u540e\u63d2\u5165\u7a7a p\uff08:empty \u4ecd\u5360 20px\uff09\uff0c\u4e00\u5e76\u53bb\u6389\u907f\u514d\u9876\u7a7a\u9699 *\/<br \/>\n        #content_views.markdown_views &gt; p:empty:has(+ .toc),<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty,<br \/>\n        \/* \u5bcc\u6587\u672c\u65e7\u7248\u76ee\u5f55\u6807\u8bb0 *\/<br \/>\n        #content_views.htmledit_views #main-toc,<br \/>\n        #content_views.htmledit_views #hr-toc,<br \/>\n        #content_views.htmledit_views p[id*=\\&#8221;-toc\\&#8221;] {<br \/>\n          display: none !important;<br \/>\n        }<br \/>\n        \/* \u76ee\u5f55\u53bb\u6389\u540e\uff0c\u7d27\u8ddf\u7684\u9996\u4e2a\u6807\u9898\u4e0d\u518d\u591a\u51fa\u4e00\u5757\u4e0a\u8fb9\u8ddd *\/<br \/>\n        #content_views.markdown_views &gt; .toc + h1,<br \/>\n        #content_views.markdown_views &gt; .toc + h2,<br \/>\n        #content_views.markdown_views &gt; .toc + h3,<br \/>\n        #content_views.markdown_views &gt; .toc + h4,<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty + h1,<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty + h2,<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty + h3,<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty + h4 {<br \/>\n          margin-top: 0 !important;<br \/>\n        }<\/p>\n<h3>\u58f0\u660e<\/h3>\n<h3>\u672c\u6587\u7ae0\u4e2d\u6240\u6709\u5185\u5bb9\u4ec5\u4f9b\u5b66\u4e60\u4ea4\u6d41\u4f7f\u7528&#xff0c;\u4e0d\u7528\u4e8e\u5176\u4ed6\u4efb\u4f55\u76ee\u7684&#xff0c;\u6293\u5305\u5185\u5bb9\u3001\u654f\u611f\u7f51\u5740\u3001\u6570\u636e\u63a5\u53e3 \u00a0\u7b49\u5747\u5df2\u505a\u8131\u654f\u5904\u7406&#xff0c;\u4e25\u7981\u7528\u4e8e\u5546\u4e1a\u7528\u9014\u548c\u975e\u6cd5\u7528\u9014&#xff0c;\u5426\u5219\u7531\u6b64\u4ea7\u751f\u7684\u4e00\u5207\u540e\u679c\u5747\u4e0e\u4f5c\u8005\u65e0\u5173&#xff01;<br \/>\n\u6709\u76f8\u5173\u95ee\u9898\u8bf7\u7b2c\u4e00\u65f6\u95f4\u70b9\u51fb\u5934\u50cf\u770b\u7b80\u4ecb\u6216\u79c1\u4fe1\u8054\u7cfb\u6211\u5220\u9664\u535a\u5ba2&#xff01;<br \/>\n\u90e8\u5206python\u00a0\u4ee3\u7801<\/h3>\n<p>\u00a0 \u00a0 body &#061; json.dumps(data, separators&#061;(&#039;,&#039;, &#039;:&#039;), ensure_ascii&#061;False)<br \/>\n\u00a0 \u00a0 aes_key &#061; get_key_from_srd(SRD)<br \/>\n\u00a0 \u00a0 real_key &#061; decrypt_ssk(SSK, aes_key, SIV)<br \/>\n\u00a0 \u00a0 sign, st &#061; compute_st(time_tamp, body, uuid_hex, real_key&#061;real_key, device&#061;device)<br \/>\n\u00a0 \u00a0 print(f&#034;t \u00a0 \u00a0 \u00a0 \u00a0&#061; {time_tamp}&#034;)<br \/>\n\u00a0 \u00a0 print(f&#034;n \u00a0 \u00a0 \u00a0 \u00a0&#061; {uuid_hex}&#034;)<br \/>\n\u00a0 \u00a0 print(f&#034;treq-id \u00a0&#061; {gen_treq_id(time_tamp)}&#034;)<br \/>\n\u00a0 \u00a0 print(f&#034;device \u00a0 &#061; {device}&#034;)<br \/>\n\u00a0 \u00a0 print(f&#034;version \u00a0&#061; {VERSION}&#034;)<br \/>\n\u00a0 \u00a0 print(f&#034;real_key &#061; {real_key}&#034;)<br \/>\n\u00a0 \u00a0 print(f&#034;sign \u00a0 \u00a0 &#061; {sign}&#034;)<br \/>\n\u00a0 \u00a0 print(f&#034;st \u00a0 \u00a0 \u00a0 &#061; {st}&#034;)<\/p>\n<p>\u00a0 \u00a0 headers &#061; build_headers(time_tamp, uuid_hex, st, device&#061;device)<br \/>\n\u00a0 \u00a0 resp &#061; requests.post(url, headers&#061;headers, data&#061;body.encode(&#034;utf-8&#034;), timeout&#061;30)<br \/>\n\u00a0 \u00a0 print(resp)<br \/>\n\u00a0 \u00a0 print(resp.text)<br \/>\n\u00a0 \u00a0 return resp<\/p>\n<h4>\u7ed3\u679c<\/h4>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261106220043-6aee4e0b4807d.png\" \/><\/p>\n<h4>\u603b\u7ed3<\/h4>\n<h6>1.\u51fa\u4e8e\u5b89\u5168\u8003\u8651,\u672c\u7ae0\u672a\u63d0\u4f9b\u5b8c\u6574\u6d41\u7a0b,\u8c03\u8bd5\u73af\u8282\u7701\u7565\u8f83\u591a,\u53ea\u63d0\u4f9b\u5927\u81f4\u601d\u8def,\u5177\u4f53\u7ec6\u8282\u8981\u4f60\u81ea\u5df1\u8fd8\u539f,\u76f8\u4fe1\u4f60\u4e5f\u80fd\u8c03\u8bd5\u51fa\u6765\u3002<\/h6>\n<h6>2.\u5177\u4f53\u66f4\u591a\u7ec6\u8282\u8bf7\u770b\u540d\u5b57\u8fdb\u5165\u8be6\u60c5\u4e86\u89e3\u66f4\u591a\u7ec6\u8282&#xff0c;\u5177\u4f53\u7ec6\u8282\u8981\u4f60\u81ea\u5df1\u8fd8\u539f,\u76f8\u4fe1\u4f60\u4e5f\u80fd\u8c03\u8bd5\u51fa\u6765\u3002<\/h6>\n","protected":false},"excerpt":{"rendered":"<p>\/* MD \/ \u5bcc\u6587\u672c\u4e2d\u7684 .toc\uff08\u542b\u535a\u5ba2\u56ed\u642c\u5bb6\u7b49\u5d4c\u5957\u7ed3\u6784\uff09\uff1b.toc-box \u5728\u4fa7\u680f\uff0c\u4e0d\u53d7\u5f71\u54cd *\/#content_views .toc,\/* \u7f16\u8f91\u5668\u5e38\u5728\u76ee\u5f55\u524d\u540e\u63d2\u5165\u7a7a p\uff08:empty \u4ecd\u5360 20px\uff09\uff0c\u4e00\u5e76\u53bb\u6389\u907f\u514d\u9876\u7a7a\u9699 *\/#content_views.markdown_views &gt; p:empty:has(+ .toc),#content_views.markdown_views &gt; .toc + p:empty,\/* \u5bcc\u6587\u672c\u65e7\u7248\u76ee\u5f55\u6807\u8bb0 *\/#content<\/p>\n","protected":false},"author":2,"featured_media":123390,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[14134,14133,99,87,43],"topic":[],"class_list":["post-123391","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-app","tag-java","tag-87","tag-43"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>APP\u6570\u636e\u91c7\u96c6:\u5c71\u59c6\u4f1a\u5458\u5546\u5e97APP\u9006\u5411\u534f\u8bae\u91c7\u96c6 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/123391.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"APP\u6570\u636e\u91c7\u96c6:\u5c71\u59c6\u4f1a\u5458\u5546\u5e97APP\u9006\u5411\u534f\u8bae\u91c7\u96c6 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\/* MD \/ \u5bcc\u6587\u672c\u4e2d\u7684 .toc\uff08\u542b\u535a\u5ba2\u56ed\u642c\u5bb6\u7b49\u5d4c\u5957\u7ed3\u6784\uff09\uff1b.toc-box \u5728\u4fa7\u680f\uff0c\u4e0d\u53d7\u5f71\u54cd *\/#content_views .toc,\/* \u7f16\u8f91\u5668\u5e38\u5728\u76ee\u5f55\u524d\u540e\u63d2\u5165\u7a7a p\uff08:empty \u4ecd\u5360 20px\uff09\uff0c\u4e00\u5e76\u53bb\u6389\u907f\u514d\u9876\u7a7a\u9699 *\/#content_views.markdown_views &gt; p:empty:has(+ .toc),#content_views.markdown_views &gt; .toc + p:empty,\/* \u5bcc\u6587\u672c\u65e7\u7248\u76ee\u5f55\u6807\u8bb0 *\/#content\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/123391.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-06T22:00:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261106220043-6aee4e0b4807d.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/123391.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/123391.html\",\"name\":\"APP\u6570\u636e\u91c7\u96c6:\u5c71\u59c6\u4f1a\u5458\u5546\u5e97APP\u9006\u5411\u534f\u8bae\u91c7\u96c6 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-11-06T22:00:44+00:00\",\"dateModified\":\"2026-11-06T22:00:44+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/123391.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/123391.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/123391.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"APP\u6570\u636e\u91c7\u96c6:\u5c71\u59c6\u4f1a\u5458\u5546\u5e97APP\u9006\u5411\u534f\u8bae\u91c7\u96c6\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"APP\u6570\u636e\u91c7\u96c6:\u5c71\u59c6\u4f1a\u5458\u5546\u5e97APP\u9006\u5411\u534f\u8bae\u91c7\u96c6 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/123391.html","og_locale":"zh_CN","og_type":"article","og_title":"APP\u6570\u636e\u91c7\u96c6:\u5c71\u59c6\u4f1a\u5458\u5546\u5e97APP\u9006\u5411\u534f\u8bae\u91c7\u96c6 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\/* MD \/ \u5bcc\u6587\u672c\u4e2d\u7684 .toc\uff08\u542b\u535a\u5ba2\u56ed\u642c\u5bb6\u7b49\u5d4c\u5957\u7ed3\u6784\uff09\uff1b.toc-box \u5728\u4fa7\u680f\uff0c\u4e0d\u53d7\u5f71\u54cd *\/#content_views .toc,\/* \u7f16\u8f91\u5668\u5e38\u5728\u76ee\u5f55\u524d\u540e\u63d2\u5165\u7a7a p\uff08:empty \u4ecd\u5360 20px\uff09\uff0c\u4e00\u5e76\u53bb\u6389\u907f\u514d\u9876\u7a7a\u9699 *\/#content_views.markdown_views &gt; p:empty:has(+ .toc),#content_views.markdown_views &gt; .toc + p:empty,\/* \u5bcc\u6587\u672c\u65e7\u7248\u76ee\u5f55\u6807\u8bb0 *\/#content","og_url":"https:\/\/www.wsisp.com\/helps\/123391.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-11-06T22:00:44+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261106220043-6aee4e0b4807d.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/123391.html","url":"https:\/\/www.wsisp.com\/helps\/123391.html","name":"APP\u6570\u636e\u91c7\u96c6:\u5c71\u59c6\u4f1a\u5458\u5546\u5e97APP\u9006\u5411\u534f\u8bae\u91c7\u96c6 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-11-06T22:00:44+00:00","dateModified":"2026-11-06T22:00:44+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/123391.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/123391.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/123391.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"APP\u6570\u636e\u91c7\u96c6:\u5c71\u59c6\u4f1a\u5458\u5546\u5e97APP\u9006\u5411\u534f\u8bae\u91c7\u96c6"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/123391","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=123391"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/123391\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/123390"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=123391"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=123391"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=123391"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=123391"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}