{"id":1759,"date":"2022-11-25T17:47:18","date_gmt":"2022-11-25T09:47:18","guid":{"rendered":"https:\/\/app.applebyme.cn\/cloud\/jssdk\/1759.html"},"modified":"2022-11-25T17:47:18","modified_gmt":"2022-11-25T09:47:18","slug":"%e5%ae%a2%e6%88%b7%e7%ab%af%e7%a4%ba%e4%be%8b%e4%bb%a3%e7%a0%81%e8%ae%a1%e7%ae%97-usersig-2","status":"publish","type":"post","link":"https:\/\/app.applebyme.cn\/cloud\/jssdk\/1759.html","title":{"rendered":"\u5ba2\u6237\u7aef\u793a\u4f8b\u4ee3\u7801\u8ba1\u7b97 UserSig"},"content":{"rendered":"<p>\u5ba2\u6237\u7aef\u793a\u4f8b\u4ee3\u7801\u8ba1\u7b97 <span class=\"wpcom_tag_link\">UserSig<\/span><\/p>\n<h3 id=\".E5.AE.A2.E6.88.B7.E7.AB.AF.E7.A4.BA.E4.BE.8B.E4.BB.A3.E7.A0.81.E8.AE.A1.E7.AE.97-UserSig\">\u5ba2\u6237\u7aef\u793a\u4f8b\u4ee3\u7801\u8ba1\u7b97 UserSig<\/h3>\n<p>1. <strong>\u83b7\u53d6 SDKAPPID \u548c\u5bc6\u94a5<\/strong>\uff1a<\/p>\n<p>1.1 \u767b\u5f55<strong>\u5b9e\u65f6\u97f3\u89c6\u9891\u63a7\u5236\u53f0<\/strong> &gt; \u5e94\u7528\u7ba1\u7406\u3002<\/p>\n<p>1.2 \u5355\u51fb\u60a8\u9700\u67e5\u770b\u7684 SDKAppID \u5bf9\u5e94\u7684<strong>\u5e94\u7528\u4fe1\u606f<\/strong>\uff0c\u5355\u51fb\u8fdb\u5165<strong>\u5feb\u901f\u4e0a\u624b<\/strong>\u9875\u7b7e\u3002<\/p>\n<p>1.3 \u67e5\u770b <strong>\u7b2c\u4e8c\u6b65 \u83b7\u53d6\u7b7e\u53d1UserSig\u7684\u5bc6\u94a5<\/strong> \u6807\u7b7e\uff0c\u5373\u53ef\u83b7\u53d6\u7528\u4e8e\u8ba1\u7b97 UserSig \u7684\u52a0\u5bc6\u5bc6\u94a5\u3002<\/p>\n<p>1.4 \u5355\u51fb<strong>\u590d\u5236\u5bc6\u94a5<\/strong>\uff0c\u53ef\u5c06\u5bc6\u94a5\u62f7\u8d1d\u5230\u526a\u8d34\u677f\u4e2d\u3002<\/p>\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/kb.cdn.yimenapp.com\/yimen\/2022\/10\/20221019183323758.png\" alt=\"\u5ba2\u6237\u7aef\u793a\u4f8b\u4ee3\u7801\u8ba1\u7b97 UserSig\" \/><img decoding=\"async\" class=\"j-lazy\" src=\"https:\/\/www.yimenapp.com\/kb-yimen\/wp-content\/themes\/justnews\/themer\/assets\/images\/lazy.png\" data-original=\"https:\/\/kb.cdn.yimenapp.com\/yimen\/2022\/10\/20221019183323758.png\" alt=\"\u5ba2\u6237\u7aef\u793a\u4f8b\u4ee3\u7801\u8ba1\u7b97 UserSig\" \/><\/figure>\n<p><strong>\u8bf4\u660e<\/strong><\/p>\n<p>\u82e5\u67e5\u770b\u5bc6\u94a5\u65f6\u53ea\u80fd\u83b7\u53d6\u516c\u94a5\u548c\u79c1\u94a5\u4fe1\u606f\uff0c\u8bf7\u53c2\u89c1 \u5982\u4f55\u83b7\u53d6\u5bc6\u94a5\u3002<\/p>\n<p>2. <strong>\u8ba1\u7b97 UserSig\uff1a<\/strong> \u4e3a\u4e86\u65b9\u4fbf\u5ba2\u6237\u7aef\u4f7f\u7528\uff0c\u6211\u4eec\u63d0\u4f9b\u5404\u5e73\u53f0\u8ba1\u7b97 UserSig \u7684\u6e90\u7801\u6587\u4ef6\uff0c\u60a8\u53ef\u76f4\u63a5\u4e0b\u8f7d\u8ba1\u7b97\uff1a<\/p>\n<figure class=\"wp-block-table\">\n<table>\n<tbody>\n<tr>\n<td>\u9002\u7528\u5e73\u53f0<\/td>\n<td>\u6587\u4ef6\u6e90\u7801<\/td>\n<td>\u6587\u4ef6\u76f8\u5bf9\u8def\u5f84<\/td>\n<\/tr>\n<tr>\n<td>iOS<\/td>\n<td>Github<\/td>\n<td><span class=\"wpcom_tag_link\">TRTC<\/span>-API-Example-OC\/Debug\/GenerateTestUserSig.h<\/td>\n<\/tr>\n<tr>\n<td>Mac<\/td>\n<td>Github<\/td>\n<td>OCDemo\/TRTCDemo\/TRTC\/GenerateTestUserSig.h<\/td>\n<\/tr>\n<tr>\n<td>Android<\/td>\n<td>Github<\/td>\n<td>TRTC-API-Example\/Debug\/src\/main\/java\/com\/tencent\/trtc\/debug\/GenerateTestUserSig.java<\/td>\n<\/tr>\n<tr>\n<td>Windows\uff08C++\uff09<\/td>\n<td>Github<\/td>\n<td>TRTC-API-Example-C++\/TRTC-API-Example-Qt\/src\/Util\/defs.h<\/td>\n<\/tr>\n<tr>\n<td>Window<a href=\"https:\/\/app.applebyme.cn\/shengcheng-31.html\">\u94fe\u63a5\u751f\u6210app<\/a>s\uff08C#\uff09<\/td>\n<td>Github<\/td>\n<td>TRTC-API-Example-CSharp\/TRTC-API-Example-CSharp\/GenerateTestUserSig.cs<\/td>\n<\/tr>\n<tr>\n<td>Web<\/td>\n<td>Github<\/td>\n<td>base-js\/js\/debug\/GenerateTestUserSig.js<\/td>\n<\/tr>\n<tr>\n<td>\u5fae\u4fe1\u5c0f\u7a0b\u5e8f<\/td>\n<td>Github<\/td>\n<td>TRTCSimpleDemo\/debug\/GenerateTestUserSig.js<\/td>\n<\/tr>\n<tr>\n<td>Flutter<\/td>\n<td>Github<\/td>\n<td>TRTC-API-Example\/lib\/Debug\/GenerateTestUserSig.dart<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<p>\u6211\u4eec\u5728 TRTC SDK \u7684\u793a\u4f8b\u4ee3\u7801\u4e2d\u63d0\u4f9b\u4e86\u4e00\u4e2a\u53eb\u505a <code>GenerateTestUserSig<\/code> \u7684\u5f00\u6e90\u6a21\u5757\uff0c\u60a8\u53ea\u9700\u8981\u5c06\u5176\u4e2d\u7684 SDKAPPID\u3001EXPIRETIME \u548c SECRETKEY \u4e09\u4e2a\u6210\u5458\u53d8\u91cf\u4fee\u6539\u6210\u60a8\u81ea\u5df1\u7684\u914d\u7f6e\uff0c\u5c31\u53ef\u4ee5\u8c03\u7528 <code>genTestUserSig()<\/code> \u51fd\u6570\u83b7\u53d6\u8ba1\u7b97\u597d\u7684 UserSig\uff0c\u4ece\u800c\u5feb\u901f\u8dd1\u901a SDK \u7684\u76f8\u5173\u529f\u80fd\uff1a<\/p>\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/kb.cdn.yimenapp.com\/yimen\/2022\/10\/20221019183323725.png\" alt=\"\u5ba2\u6237\u7aef\u793a\u4f8b\u4ee3\u7801\u8ba1\u7b97 UserSig\" \/><img decoding=\"async\" class=\"j-lazy\" src=\"https:\/\/www.yimenapp.com\/kb-yimen\/wp-content\/themes\/justnews\/themer\/assets\/images\/lazy.png\" data-original=\"https:\/\/kb.cdn.yimenapp.com\/yimen\/2022\/10\/20221019183323725.png\" alt=\"\u5ba2\u6237\u7aef\u793a\u4f8b\u4ee3\u7801\u8ba1\u7b97 UserSig\" \/><\/figure>\n<p>                            <a href=\"https:\/\/app.applebyme.cn\/shengcheng-114.html\">app\u6253\u5305\u5de5\u5177<\/a>                            <\/p>\n<p>\u7f16\u8f91\uff1ayimen\uff0c\u5982\u82e5\u8f6c\u8f7d\uff0c\u8bf7\u6ce8\u660e\u51fa\u5904\uff1ahttps:\/\/www.yimenapp.com\/kb-yimen\/9067\/<\/p>\n<p>\u90e8\u5206\u5185\u5bb9\u6765\u81ea\u7f51\u7edc\u6295\u7a3f\uff0c\u5982\u6709\u4fb5\u6743\u8054\u7cfb\u7acb\u5220<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5ba2\u6237\u7aef\u793a\u4f8b\u4ee3\u7801\u8ba1\u7b97 UserSig\u5ba2\u6237\u7aef\u793a\u4f8b\u4ee3\u7801\u8ba1\u7b97 UserSig1. \u83b7\u53d6 SDKAPPID \u548c\u5bc6\u94a5\uff1a1.1 \u767b\u5f55\u5b9e\u65f6\u97f3\u89c6\u9891\u63a7\u5236\u53f0 &gt; \u5e94\u7528\u7ba1\u7406\u30021.2 \u5355\u51fb\u60a8\u9700\u67e5\u770b\u7684 SDKAppID \u5bf9\u5e94\u7684\u5e94\u7528\u4fe1\u606f\uff0c\u5355\u51fb\u8fdb\u5165\u5feb\u901f\u4e0a\u624b\u9875\u7b7e\u30021.3 \u67e5\u770b \u7b2c\u4e8c\u6b65 \u83b7\u53d6\u7b7e\u53d1UserSig\u7684\u5bc6\u94a5 \u6807\u7b7e\uff0c\u5373\u53ef\u83b7\u53d6\u7528\u4e8e<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[1247,850,1246],"class_list":["post-1759","post","type-post","status-publish","format-standard","hentry","category-jssdk","tag-usersig","tag-850","tag-1246"],"_links":{"self":[{"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/posts\/1759","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/comments?post=1759"}],"version-history":[{"count":0,"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/posts\/1759\/revisions"}],"wp:attachment":[{"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/media?parent=1759"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/categories?post=1759"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/tags?post=1759"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}