{"id":8746,"date":"2024-05-28T11:01:01","date_gmt":"2024-05-28T03:01:01","guid":{"rendered":""},"modified":"2024-05-28T11:01:01","modified_gmt":"2024-05-28T03:01:01","slug":"app\u7aef\u5b89\u5168\u6027\u52a0\u5bc6\u7b56\u7565\u662f\u4ec0\u4e48_\u82f9\u679c\u624b\u673a\u5982\u4f55\u5bf9app\u8fdb\u884c\u52a0\u5bc6","status":"publish","type":"post","link":"https:\/\/mushiming.com\/8746.html","title":{"rendered":"app\u7aef\u5b89\u5168\u6027\u52a0\u5bc6\u7b56\u7565\u662f\u4ec0\u4e48_\u82f9\u679c\u624b\u673a\u5982\u4f55\u5bf9app\u8fdb\u884c\u52a0\u5bc6"},"content":{"rendered":"

\n <\/path> \n<\/svg> <\/p>\n

\u4e3a\u4e86\u4fdd\u969c\u653f\u5e9c\u4e3b\u4f53\u7684\u6570\u636e\u901a\u4fe1\u5b89\u5168\uff0c\u6d89\u53ca\u5230\u654f\u611f\u6570\u636e\u5728\u516c\u7f51\u4e0a\u7684\u4f20\u8f93\u65f6\uff0c\u9700\u8981\u5bf9\u8bf7\u6c42\u5165\u53c2\u548c\u54cd\u5e94\u8fdb\u884c\u975e\u5bf9\u79f0\u52a0\u5bc6\uff0c\u4e14\u4fdd\u8bc1\u4ee5\u4e0b\u4e24\u70b9\u4ee5\u786e\u8ba4\u5b89\u5168\u6027\uff1a<\/p>\n

    \n
  1. \u5ba2\u6237\u7aef\u4e0d\u7559\u5b58\u79c1\u94a5<\/strong>\uff08\u5b58\u5728\u53cd\u7f16\u8bd1\u548c\u66b4\u529b\u89e3\u5305\u98ce\u9669\uff09<\/li>\n
  2. **\u79c1\u94a5\u5728\u4efb\u4f55\u65f6\u5019\u90fd\u4e0d\u7ecf\u8fc7\u54cd\u5e94\u4f53\u8fdb\u884c\u8fd4\u56de\uff08**\u65e0\u79c1\u94a5\u65e0\u6cd5\u89e3\u5bc6\uff0c\u79c1\u94a5\u53ea\u80fd\u660e\u6587\u4f20\u8f93\uff0c\u4e0d\u5b89\u5168\uff09<\/li>\n<\/ol>\n

    \u9274\u4e8e\u6b64\uff0c\u7ed3\u5408\u4e92\u8054\u7f51\u4e0a\u6d41\u884c\u7684\u52a0\u89e3\u5bc6\u7b56\u7565\uff0c\u6211\u4eec\u9488\u5bf9\u8bf7\u6c42<\/strong>\u548c\u54cd\u5e94<\/strong>\u4e24\u4e2a\u9636\u6bb5\u8fdb\u884c\u4e86\u4e0d\u540c\u7684\u52a0\u89e3\u5bc6\u7b56\u7565\u8bbe\u8ba1\u3002\u8bf7\u6c42\u52a0\u5bc6\u540e\uff0c\u662f\u7531\u670d\u52a1\u7aef\u9a8c\u8bc1 + \u89e3\u5bc6<\/strong>\uff0c\u662f\u76f8\u5bf9\u5b89\u5168\u7684\u3002\u4f46\u662f\u53cd\u8fc7\u6765\uff0c\u54cd\u5e94\u62a5\u6587\u9700\u8981\u7531\u5ba2\u6237\u7aef\u89e3\u5bc6<\/strong>\uff0c\u5ba2\u6237\u7aef\u662f\u4e0d\u5b89\u5168\u7684\uff0capp\u548cweb\u90fd\u53ef\u4ee5\u88ab\u53cd\u7f16\u8bd1\uff0c\u5bc6\u94a5\u5373\u4f7f\u52a0\u5bc6\u7f13\u5b58\u4e5f\u53ef\u80fd\u88ab\u6fc0\u6d3b\u6210\u529f\u6559\u7a0b\u3002<\/p>\n

    \n

    \u9700\u8981\u8ba8\u8bba\u7684\u70b9\u662f\uff1a<\/p>\n

      \n
    1. \u4f7f\u7528\u9ad8\u4f4d\u6570\u7684\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u5df2\u7ecf\u8db3\u591f\u5b89\u5168\uff0c\u9ed1\u5ba2\u9664\u975e\u5f97\u5230\u79c1\u94a5\uff0c\u5426\u5219\u4e0d\u53ef\u80fd\u7be1\u6539\u8bf7\u6c42\uff08\u9632\u7be1\u6539\u548c\u52a0\u5bc6\u4e8c\u9009\u4e00\uff1f\u7ed3\u5408\u4f7f\u7528\uff1f\uff09<\/strong><\/li>\n
    2. \u9632\u7be1\u6539\u673a\u5236\u5728\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u5b58\u5728\u5b89\u5168\u9690\u60a3\uff0c\u6bd4\u8f83\u9002\u7528\u4e8e\u540e\u7aef\u4e0e\u540e\u7aef\u5bf9\u63a5\u3002\u6309\u7167\u7b7e\u540dkey\u7684\u7279\u6b8a\u6027\uff0c\u5e94\u8be5\u53ea\u7559\u5b58\u4e8e\u670d\u52a1\u7aef\u3002\u76ee\u524d\u4e09\u664b\u5148\u950b\u4f7f\u7528\u573a\u666f\u4e3b\u8981\u5728\u5f00\u653e\u5e73\u53f0\uff0c\u540e\u7aef\u5bf9\u63a5\uff0c\u6ca1\u4ec0\u4e48\u95ee\u9898\uff0c\u4f46\u662f\u653e\u5728app\u4e0a\u5c31\u5b58\u5728\u4e00\u5b9a\u9690\u60a3\u3002<\/s><\/strong>\u5df2\u7ecf\u4f7f\u7528\u6539\u8fdb\u65b9\u6848\uff0c\u57fa\u4e8e\u7528\u6237\u767b\u5f55\u8bf7\u6c42\u5206\u53d1\u7b7e\u540dkey\uff0c\u52a0\u5bc6\u7f13\u5b58\u5728Jwt Token\u4e2d\uff0c\u540e\u7aef\u6821\u9a8ctoken\u7684\u540c\u65f6\u6821\u9a8c\u7b7e\u540dkey\u5339\u914d\u3002<\/li>\n<\/ol>\n

      \u4e0b\u9762\u7684\u65b9\u6848\u4e3b\u8981\u57fa\u4e8e\u7ed3\u5408\u4f7f\u7528\u7684\u65b9\u6848\uff0c\u5b89\u5168\u7cfb\u6570\u975e\u5e38\u9ad8\uff0c\u4f46\u662f\u5728\u9ad8\u5e76\u53d1\u573a\u666f\u4e0b\uff0c\u5bf9\u6027\u80fd\u6709\u4e00\u5b9a\u635f\u8017\u3002<\/p>\n<\/blockquote>\n

      \u65e0\u8bba\u662f\u4ece\u6027\u80fd\u8fd8\u662f\u4ece\u5b89\u5168\u6027\u89d2\u5ea6\u4e0a\uff0c\u5b9e\u9645\u4f7f\u7528\u4e2d\u6211\u4eec\u7528\u56fd\u5bb6\u975e\u5bf9\u79f0\u5b89\u5168\u52a0\u5bc6\u7b97\u6cd5\uff08SM2\uff0c\u7b80\u79f0\u56fd\u5bc62\u7b97\u6cd5\uff09\uff0c\u5bf9RSA\u8fdb\u884c\u4e86\u5b8c\u5168\u66ff\u4ee3\u3002<\/strong><\/p>\n<\/p>\n

      \n

      \u6587\u7ae0\u76ee\u5f55<\/h4>\n
        \n
      • \n
          \n
        • \u4e00\u3001\u7b7e\u540d\u7b97\u6cd5<\/li>\n
        • \n
            \n
          • \n
              \n
            • 2.1.1 \u7b7e\u540d\u62a5\u6587\u7684\u89e3\u6790\u9a8c\u8bc1\u6d41\u7a0b<\/li>\n
            • 2.1.2 \u7b7e\u540d\u89c4\u5219<\/li>\n
            • 2.1.3 \u7b7e\u540dkey\u7684\u751f\u6210\u4e0e\u9a8c\u8bc1<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n
            • \u4e8c\u3001\u8bf7\u6c42\u62a5\u6587\u52a0\u5bc6\uff08~~RSA-256~~ SM2 \u56fd\u5bc62\u7b97\u6cd5\uff09<\/li>\n
            • \n
                \n
              • 2.1 \u52a0\u5bc6\u7b97\u6cd5<\/li>\n
              • 2.2 \u52a0\u89e3\u5bc6\u5de5\u4f5c\u6a21\u5f0f<\/li>\n<\/ul>\n<\/li>\n
              • \u4e09\u3001\u54cd\u5e94\u62a5\u6587\u52a0\u5bc6\uff08KEY-MAP + clientKey + SM2-ECC\uff09<\/li>\n
              • \n
                  \n
                • 3.1 \u6ce8\u518c\u5bc6\u94a5 + \u670d\u52a1\u7aef\u52a0\u5bc6\u7b56\u7565<\/li>\n
                • 3.2 \u6ce8\u518c\u8bbe\u5907\u903b\u8f91<\/li>\n
                • 3.3 \u670d\u52a1\u7aef\u52a0\u5bc6\u548c\u5bc6\u94a5\u7f13\u5b58<\/li>\n
                • 3.4 \u5ba2\u6237\u7aef\u89e3\u5bc6\u8bf7\u6c42\u4f53<\/li>\n
                • 3.5 \u5b89\u5168\u6027\u52a0\u56fa\u548c\u65f6\u6548\u7b56\u7565\u8003\u8651<\/li>\n<\/ul>\n<\/li>\n
                • \u56db\u3001 \u5168\u5c40\u6e20\u9053\u6807\u8bc6<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/div>\n

                  \u4e00\u3001\u7b7e\u540d\u7b97\u6cd5<\/h3>\n

                  \u7b7e\u540d\u7b97\u6cd5\u662f\u4e00\u79cd\u9632\u6b62\u7be1\u6539\u7684\u673a\u5236\uff0c\u4f46\u662f\u672c\u8d28\u4e0a\u5e76\u4e0d\u5b89\u5168\u3002\u9ed1\u5ba2\u5f97\u77e5\u4e86\u7b7e\u540d\u7b97\u6cd5\uff0c\u5e76\u5f97\u5230\u7ea6\u5b9a\u7684key\u65f6\uff08\u5f88\u5bb9\u6613\u5728\u5ba2\u6237\u7aef\u53cd\u7f16\u8bd1\u53d6\u5f97\uff09\uff0c\u5c31\u4f1a\u53d8\u5f97\u7545\u901a\u65e0\u963b\u3002\u4e0d\u8fc7\uff0c\u7b7e\u540d\u7b97\u6cd5 + \u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5<\/strong>\uff0c\u8ba9\u9ed1\u5ba2\u4ece\u6839\u672c\u4e0a\u65e0\u6cd5\u5f97\u5230\u771f\u6b63\u7684\u8bf7\u6c42\u4f53\u3002\u672c\u5c0f\u8282\u9ed8\u8ba4\u6240\u6709\u7684\u8bf7\u6c42\u4f53\u548c\u54cd\u5e94\u4f53\u90fd\u662f\u52a0\u5bc6\u72b6\u6001\uff0c\u52a0\u5bc6\u7b97\u6cd5\u4e0b\u5c0f\u8282\u63d0\u3002<\/s>\u4f7f\u7528\u66f4\u5b89\u5168\u7684\u65b9\u6848\uff0c\u53c2\u8003\u5e8f\u7ae0<\/p>\n

                  \u76ee\u524dapp\u670d\u52a1\u7aef\u7684\u9a8c\u7b7e\u7b97\u6cd5\u5df2\u7ecf\u5b8c\u5168\u80fd\u6ee1\u8db3\u8981\u6c42\uff0c\u8fd9\u91cc\u7ed3\u5408\u6c83\u652f\u4ed8\u63a5\u53e3\u548c\u515a\u5efa\u63a5\u53e3\uff0c\u5bf9\u4e8e\u8bf7\u6c42\u548c\u54cd\u5e94\u90fd\u8fdb\u884c\u9a8c\u7b7e\uff0c\u4ee5\u4fdd\u8bc1\u5b89\u5168\u6027\u3002\u8fdb\u884c\u6574\u5408\u540e\u8bbe\u8ba1\u5982\u4e0b\uff1a<\/p>\n

                  2.1.1 \u7b7e\u540d\u62a5\u6587\u7684\u89e3\u6790\u9a8c\u8bc1\u6d41\u7a0b<\/h5>\n

                  \u670d\u52a1\u7aef\uff1a<\/p>\n

                  \n <\/p>\n

                  \n \n <\/g> \n \n \n <\/path> \n \n \n <\/path> \n <\/marker> \n <\/defs> \n <\/g> \n \n <\/path> \n \n \n <\/path> \n <\/marker> \n <\/defs> \n <\/g> \n \n <\/path> \n \n \n <\/path> \n <\/marker> \n <\/defs> \n <\/g> \n \n <\/path> \n \n \n <\/path> \n <\/marker> \n <\/defs> \n <\/g> \n \n <\/path> \n \n \n <\/path> \n <\/marker> \n <\/defs> \n <\/g> \n \n <\/path> \n \n \n <\/path> \n <\/marker> \n <\/defs> \n <\/g> \n \n <\/path> \n \n \n <\/path> \n <\/marker> \n <\/defs> \n <\/g> \n <\/g> \n \n \n \n <\/rect> \n <\/p>\n

                  \n <\/span> \n <\/div>\n

                  <\/foreignobject> \n <\/g> \n <\/g> \n \n \n <\/rect> \n <\/p>\n

                  \n <\/span> \n <\/div>\n

                  <\/foreignobject> \n <\/g> \n <\/g> \n \n \n <\/rect> \n <\/p>\n

                  \n <\/span> \n <\/div>\n

                  <\/foreignobject> \n <\/g> \n <\/g> \n \n \n <\/rect> \n <\/p>\n

                  \n Y<\/span> \n <\/div>\n

                  <\/foreignobject> \n <\/g> \n <\/g> \n \n \n <\/rect> \n <\/p>\n

                  \n N<\/span> \n <\/div>\n

                  <\/foreignobject> \n <\/g> \n <\/g> \n \n \n <\/rect> \n <\/p>\n

                  \n <\/span> \n <\/div>\n

                  <\/foreignobject> \n <\/g> \n <\/g> \n \n \n <\/rect> \n <\/p>\n

                  \n <\/span> \n <\/div>\n

                  <\/foreignobject> \n <\/g> \n <\/g> \n <\/g> \n \n \n <\/rect> \n \n \n <\/p>\n

                  \n \u5f00\u59cb \n <\/div>\n

                  <\/foreignobject> \n <\/g> \n <\/g> \n <\/g> \n \n <\/rect> \n \n \n <\/p>\n

                  \n \u4ece\u8bf7\u6c42\u5934\u53d6\u5f97Sign \n <\/div>\n

                  <\/foreignobject> \n <\/g> \n <\/g> \n <\/g> \n \n <\/rect> \n \n \n <\/p>\n

                  \n \u57fa\u4e8e\u8bf7\u6c42\u4f53\u8ba1\u7b97sign \n <\/div>\n

                  <\/foreignobject> \n <\/g> \n <\/g> \n <\/g> \n \n <\/polygon> \n \n \n <\/p>\n

                  \n \u6bd4\u8f83sign\u76f8\u7b49 \n <\/div>\n

                  <\/foreignobject> \n <\/g> \n <\/g> \n <\/g> \n \n <\/rect> \n \n \n <\/p>\n

                  \n \u9a8c\u8bc1\u6210\u529f \n <\/div>\n

                  <\/foreignobject> \n <\/g> \n <\/g> \n <\/g> \n \n <\/rect> \n \n \n <\/p>\n

                  \n \u9a8c\u8bc1\u5931\u8d25 \n <\/div>\n

                  <\/foreignobject> \n <\/g> \n <\/g> \n <\/g> \n \n <\/rect> \n \n \n <\/p>\n

                  \n \u7ed3\u675f \n <\/div>\n

                  <\/foreignobject> \n <\/g> \n <\/g> \n <\/g> \n <\/g> \n <\/g> \n <\/g> \n <\/svg>\n<\/div>\n

                  \u5ba2\u6237\u7aef\uff1a<\/p>\n

                  \n <\/p>\n

                  \n \n <\/g> \n \n \n <\/path> \n \n \n <\/path> \n <\/marker> \n <\/defs> \n <\/g> \n \n <\/path> \n \n \n <\/path> \n <\/marker> \n <\/defs> \n <\/g> \n \n <\/path> \n \n \n <\/path> \n <\/marker> \n <\/defs> \n <\/g> \n \n <\/path> \n \n \n <\/path> \n <\/marker> \n <\/defs> \n <\/g> \n \n <\/path> \n \n \n <\/path> \n <\/marker> \n <\/defs> \n <\/g> \n \n <\/path> \n \n \n <\/path> \n <\/marker> \n <\/defs> \n <\/g> \n \n <\/path> \n \n \n <\/path> \n <\/marker> \n <\/defs> \n <\/g> \n <\/g> \n \n \n \n <\/rect> \n <\/p>\n

                  \n <\/span> \n <\/div>\n

                  <\/foreignobject> \n <\/g> \n <\/g> \n \n \n <\/rect> \n <\/p>\n

                  \n <\/span> \n <\/div>\n

                  <\/foreignobject> \n <\/g> \n <\/g> \n \n \n <\/rect> \n <\/p>\n

                  \n <\/span> \n <\/div>\n

                  <\/foreignobject> \n <\/g> \n <\/g> \n \n \n <\/rect> \n <\/p>\n

                  \n Y<\/span> \n <\/div>\n

                  <\/foreignobject> \n <\/g> \n <\/g> \n \n \n <\/rect> \n <\/p>\n

                  \n N<\/span> \n <\/div>\n

                  <\/foreignobject> \n <\/g> \n <\/g> \n \n \n <\/rect> \n <\/p>\n

                  \n <\/span> \n <\/div>\n

                  <\/foreignobject> \n <\/g> \n <\/g> \n \n \n <\/rect> \n <\/p>\n

                  \n <\/span> \n <\/div>\n

                  <\/foreignobject> \n <\/g> \n <\/g> \n <\/g> \n \n \n <\/rect> \n \n \n <\/p>\n

                  \n \u5f00\u59cb \n <\/div>\n

                  <\/foreignobject> \n <\/g> \n <\/g> \n <\/g> \n \n <\/rect> \n \n \n <\/p>\n

                  \n \u4ece\u54cd\u5e94\u5934\u53d6\u5f97Sign \n <\/div>\n

                  <\/foreignobject> \n <\/g> \n <\/g> \n <\/g> \n \n <\/rect> \n \n \n <\/p>\n

                  \n \u57fa\u4e8e\u54cd\u5e94\u4f53\u8ba1\u7b97sign \n <\/div>\n

                  <\/foreignobject> \n <\/g> \n <\/g> \n <\/g> \n \n <\/polygon> \n \n \n <\/p>\n

                  \n \u6bd4\u8f83sign\u76f8\u7b49 \n <\/div>\n

                  <\/foreignobject> \n <\/g> \n <\/g> \n <\/g> \n \n <\/rect> \n \n \n <\/p>\n

                  \n \u9a8c\u8bc1\u6210\u529f \n <\/div>\n

                  <\/foreignobject> \n <\/g> \n <\/g> \n <\/g> \n \n <\/rect> \n \n \n <\/p>\n

                  \n \u9a8c\u8bc1\u5931\u8d25,\u629b\u51fa\u5f02\u5e38 \n <\/div>\n

                  <\/foreignobject> \n <\/g> \n <\/g> \n <\/g> \n \n <\/rect> \n \n \n <\/p>\n

                  \n \u7ed3\u675f \n <\/div>\n

                  <\/foreignobject> \n <\/g> \n <\/g> \n <\/g> \n <\/g> \n <\/g> \n <\/g> \n <\/svg>\n<\/div>\n

                  2.1.2 \u7b7e\u540d\u89c4\u5219<\/h5>\n

                  \u7b7e\u540d\u7684\u751f\u6210\u89c4\u5219\u5728\u670d\u52a1\u7aef\u548c\u5ba2\u6237\u7aef\u9700\u8981\u4fdd\u6301\u4e00\u81f4\u3002\u989d\u5916\u7684\uff0c\u4e3a\u4e86\u901a\u4fe1\u7684\u5bf9\u79f0\u6027\uff0c\u8fd8\u7ea6\u5b9a\u4e86\u4e00\u4e2akey<\/strong>\u989d\u5916\u7684\u62fc\u63a5\u5230\u8bf7\u6c42\u4f53\u540e\u9762\uff0c\u518d\u8fdb\u884cmd5\u7f16\u7801\u8fd0\u7b97\uff0c\u6700\u7ec8\u6bd4\u5bf9md5\u503c\u662f\u5426\u5339\u914d\u3002<\/p>\n

                  \u6211\u4eec\u7ea6\u5b9a\u4e86\u91cd\u8981\u7684\u8bf7\u6c42<\/strong>\u5fc5\u987b\u4ee5POST<\/strong>\u8bf7\u6c42\u53d1\u9001\uff0c\u6240\u4ee5\u5c06\u6574\u4e2a\u8bf7\u6c42\u4f53\u6309\u7167\u5b57\u7b26\u4e32\u7684\u5f62\u5f0f\u8fdb\u884c\u5904\u7406\uff0c\u62fc\u63a5\u7ea6\u5b9a\u7684\u7b7e\u540dkey<\/strong>\u4f5c\u4e3a\u989d\u5916\u7684\u5185\u5bb9\uff0c\u7136\u540e\u8fdb\u884cmd5-hex32<\/strong>\u52a0\u5bc6\u5b57\u7b26\u4e32\u3002<\/p>\n

                  \u4f8b\u5982\uff1a<\/p>\n

                  \u7528\u6237\u8bf7\u6c42POST http:\/\/api.ht-travel.gov.cn\/api\/scenes\uff0c\u7ea6\u5b9a\u7684key<\/strong>\u4e3a6fg3c7e5b2z0f03h1<\/code>\uff0c \u8bf7\u6c42\u4f53\u4e3a\uff1a<\/p>\n

                  { \n   <\/span>\"name\"<\/span>:<\/span> \"\u5927\u69d0\u6811\"<\/span>,<\/span>\"page\"<\/span>:<\/span> 0<\/span>,<\/span>\"size\"<\/span>:<\/span> 10<\/span>,<\/span>\"order\"<\/span>:<\/span> \"asc\"<\/span>}<\/span>\n<\/code><\/pre>\n

                  \u5219\u5c06\u4e0a\u8ff0\u5185\u5bb9\u4f5c\u4e3a\u6574\u4f53\u5b57\u7b26\u4e32\uff0c\u76f4\u63a5\u62fc\u63a5key\uff0c\u5f97\u5230<\/p>\n

                  {\"name\": \"\u5927\u69d0\u6811\",\"page\": 0,\"size\": 10,\"order\": \"asc\"}6fg3c7e5b2z0f03h1\n<\/code><\/pre>\n

                  \u7136\u540e\u4f7f\u7528HEX32\u7684\u683c\u5f0f\u5bf9\u4e0a\u9762\u7684\u5b57\u7b26\u4e32\u8fdb\u884cmd5\u7f16\u7801\uff0c\u7ed3\u679c\u4e3a3e40a7c47fd31e80ed8a8074bff5087b<\/code>\uff0c\u8be5\u503c\u5c31\u662f\u7b7e\u540d\u5185\u5bb9\u3002<\/p>\n

                  \u6700\u7ec8\uff0c\u7528\u6237\u8bbf\u95ee\u8fd9\u4e2a\u63a5\u53e3\u7684\u6b63\u786e\u5185\u5bb9\u4e3a\uff1a<\/p>\n

                  { \n   <\/span>\n  \"headers\"<\/span>:<\/span> { \n   <\/span>\n    \"Authorization\"<\/span>:<\/span> \"\u7528\u6237token\"<\/span>,<\/span>\n    \"Signature\"<\/span>:<\/span> \"3e40a7c47fd31e80ed8a8074bff5087b\"<\/span>,<\/span>\n    \"Channel\"<\/span>:<\/span> \"ios\"<\/span>,<\/span>\n  }<\/span>,<\/span>\n  \"body\"<\/span>:<\/span> \"{\\\"name\\\": \\\"\u5927\u69d0\u6811\\\",\\\"page\\\": 0,\\\"size\\\": 10,\\\"order\\\": \\\"asc\\\"}\"<\/span>,<\/span>\n}<\/span>\n<\/code><\/pre>\n

                  \u54cd\u5e94\u7684\u7b7e\u540d\u7b97\u6cd5\u4e5f\u4e00\u81f4\u3002\u9700\u8981\u5ba2\u6237\u7aef\u8fdb\u884c\u9a8c\u7b7e\u786e\u8ba4\u3002<\/p>\n

                  \u7b7e\u540dkey\u5728\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u7aef\u90fd\u5fc5\u987b\u7559\u5b58\uff0c\u4e14\u5185\u5bb9\u4e00\u81f4\u3002<\/p>\n

                  2.1.3 \u7b7e\u540dkey\u7684\u751f\u6210\u4e0e\u9a8c\u8bc1<\/h5>\n

                  \u7b7e\u540dkey\u7531\u4e8e\u5176\u5ba2\u6237\u7aef\u7559\u5b58\u6027\uff0c\u5bf9\u4e8e\u5b89\u5168\u6027\u800c\u8a00\u662f\u4e00\u4e2a\u9690\u60a3\u3002\u5728\u5b89\u5168\u6027\u7684\u4fdd\u8bc1\u65b9\u5f0f\u9762\u524d\uff0c\u6211\u4eec\u4f18\u5148\u9009\u62e9\u7528\u6237\u7ed1\u5b9a\u7684\u65b9\u5f0f\uff0c\u8fd9\u79cd\u65b9\u5f0f\u5b89\u5168\u3001\u660e\u786e\u3001\u4e14\u8f83\u4e3a\u5bb9\u6613\u5b9e\u73b0\u3002<\/p>\n

                  \u5206\u53d1\u65f6\u673a\uff1a\u7528\u6237\u767b\u5f55\uff0c\u8fd4\u56de<\/strong>token\u7684\u540c\u65f6\u8fd4\u56de\u7b7e\u540dkey<\/strong>\uff0c\u5ba2\u6237\u7aef\u7f13\u5b58key\u548ctoken<\/strong>\u3002**\u6ce8\u610f\uff0c\u8fd4\u56de\u7684token\u548ckey\u7684\u62a5\u6587\u90fd\u662f\u7ecf\u8fc7\u52a0\u5bc6\u7684\uff0c\u65e0\u6cd5\u7834\u8bd1\u3002**\u5728token\u6709\u6548\u671f\u5185\uff0c\u7b7e\u540dkey\u4e00\u76f4\u6709\u6548\uff0c\u5982\u679c\u7528\u6237token\u88ab\u64a4\u56de\u6216\u8fc7\u671f\uff0c\u7b7e\u540dkey\u5931\u6548<\/strong>\uff0c\u65e0\u6cd5\u9a8c\u8bc1\u901a\u8fc7\uff0c\u6700\u5927\u7a0b\u5ea6\u4fdd\u8bc1\u4e86\u5b89\u5168\u6027\u548c\u53ef\u9006\u6027\u3002<\/p>\n

                  **\u9a8c\u8bc1\u65f6\u673a\uff1a**\u7528\u6237\u8bf7\u6c42\u63a5\u53e3\uff0c\u643a\u5e26token\u4ee5\u53ca\u4f7f\u7528\u7b7e\u540dkey\u8fdb\u884c\u7b7e\u540d\u540e\uff0c\u670d\u52a1\u7aef\u4ecetoken\u4fe1\u606f\u4e2d\u89e3\u6790\u51fakey\uff0c\u4f7f\u7528\u7b7e\u540d\u7b97\u6cd5\u8fdb\u884c\u8ba1\u7b97\uff0c\u6bd4\u5bf9\u3002\u5b89\u5168\u6027\u5728\u4e8e\uff1a<\/p>\n

                    \n
                  1. token\u6c38\u8fdc\u90fd\u662f\u7531\u670d\u52a1\u5668\u53d1\u653e\uff0c\u5ba2\u6237\u7aef\u6c38\u8fdc\u65e0\u6cd5\u4f2a\u9020\uff0c\u56e0\u4e3a\u4e0d\u77e5\u9053\u5bc6\u94a5\u3002<\/li>\n
                  2. \u7b7e\u540dkey\u548ctoken\u4e25\u683c\u7ed1\u5b9a\uff0c\u5982\u679c\u4f2a\u9020\u7b7e\u540dkey\uff0c\u7edd\u5bf9\u65e0\u6cd5\u901a\u8fc7\u9a8c\u8bc1<\/li>\n
                  3. \u7b7e\u540dkey\u65e0\u6cd5\u88ab\u62e6\u622a\uff0c\u4e0d\u4f1a\u660e\u6587\u4ea4\u4e92\u4e8e\u4e92\u8054\u7f51\uff0c\u4ec5\u5b58\u5728\u4e8e\u7528\u6237\u624b\u673a\u7f13\u5b58\uff0c\u4e14\u6bcf\u4e2a\u7528\u6237\u90fd\u4e0d\u4e00\u6837\u3002token\u7ecf\u8fc7\u52a0\u5bc6\uff0c\u5373\u4f7f\u622a\u83b7token\uff0c\u4e5f\u65e0\u6cd5\u6210\u529f\u53d1\u9001\u4efb\u4f55\u8bf7\u6c42\u3002<\/li>\n<\/ol>\n

                    \u7efc\u4e0a\u6240\u8ff0\uff0c\u8be5\u65b9\u6848\u7684\u5b89\u5168\u6027\u57fa\u672c\u4e0a\u53ef\u4ee5\u8fbe\u523090%\u4ee5\u4e0a<\/strong>\uff08\u6392\u9664\u66b4\u529b\u6fc0\u6d3b\u6210\u529f\u6559\u7a0b\u548c\u5ba2\u6237\u7aef\u8bbe\u5907\u88ab\u5077\u76d7\uff09<\/p>\n

                    \u4e8c\u3001\u8bf7\u6c42\u62a5\u6587\u52a0\u5bc6\uff08RSA-256<\/s> SM2 \u56fd\u5bc62\u7b97\u6cd5\uff09<\/h3>\n

                    \u8bf7\u6c42\u62a5\u6587\u52a0\u5bc6\u7684\u57fa\u7840\u6761\u4ef6\u662f\uff1a<\/p>\n

                      \n
                    1. \u4ec5\u5141\u8bb8\u4f7f\u7528POST<\/strong>\u8bf7\u6c42\u53d1\u9001\u53c2\u6570\u6216\u8bf7\u6c42\u6570\u636e\uff0c\u4ee5\u4fdd\u8bc1\u53c2\u6570\u7684key\u548cvalue\u90fd\u4e0d\u88ab\u6cc4\u9732<\/li>\n
                    2. \u5ba2\u6237\u7aef\u9700\u8981\u901a\u8fc7\u7b7e\u540d\u7b97\u6cd5<\/strong>\uff0c\u4fdd\u8bc1\u8bf7\u6c42\u4f53\u4e0d\u88ab\u7be1\u6539\uff0c\u7136\u540e\u518d\u4f7f\u7528\u516c\u94a5\u52a0\u5bc6\u3002\uff08\u516c\u94a5\u662f\u516c\u5f00\u900f\u660e\uff0c\u7f13\u5b58\u5728\u5ba2\u6237\u7aef\uff0c\u6240\u4ee5\u5fc5\u987b\u52a0\u7b7e\u540d\u7b97\u6cd5\u9632\u6b62\u6076\u610f\u7be1\u6539\u4f2a\u9020\uff09<\/li>\n
                    3. \u52a0\u5bc6\u7684\u76ee\u7684<\/strong>\u548c\u7b7e\u540d\u7b97\u6cd5\u4e0d\u540c\uff0c\u4e3b\u8981\u662f\u4e3a\u4e86\uff1a\u4fdd\u8bc1\u4f20\u8f93\u8fc7\u7a0b\u4e2d\u5185\u5bb9\u7684\u4fdd\u5bc6\u6027\uff0c\u8ba9\u53c2\u6570\u548c\u503c\u5747\u4e0d\u900f\u660e<\/li>\n<\/ol>\n

                      2.1 \u52a0\u5bc6\u7b97\u6cd5<\/h4>\n

                      \u8fd9\u4e24\u79cd\u548c\u54b1\u4eec\u73b0\u5728\u767b\u5f55\u63a5\u53e3\u7684\u52a0\u5bc6\u65b9\u5f0f\u90fd\u57fa\u672c\u4e00\u81f4\uff0c\u8bf7\u6c42\u62a5\u6587\u52a0\u89e3\u5bc6\u57fa\u672c\u4e0a\u5c31\u53ef\u4ee5\u5b9a\u8fd9\u79cd\u4e86\uff0c\u73b0\u5728\u4e3b\u8981\u662f\u54cd\u5e94\u62a5\u6587\u52a0\u89e3\u5bc6\u7684\u5b89\u5168\u6027\u9700\u8981\u8ba8\u8bba\u3002\u515a\u5efa\u90a3\u4e2a\u4e5f\u6ca1\u6d89\u53ca\u5230\u54cd\u5e94\u62a5\u6587\u7684\u89e3\u5bc6\u573a\u666f\u3002<\/p>\n

                      2.2 \u52a0\u89e3\u5bc6\u5de5\u4f5c\u6a21\u5f0f<\/h4>\n

                      \u7531\u670d\u52a1\u7aef\u751f\u6210\u552f\u4e00\u7684\u4e00\u5bf9SM2-ECC<\/strong>\u5bc6\u94a5\u5bf9\uff08\u692d\u5706\u66f2\u7ebf\u7b97\u6cd5\uff09\uff0c\u516c\u94a5\u63d0\u4f9b\u7ed9\u5ba2\u6237\u7aef\u7559\u5b58\u4e00\u4efd\uff0c\u79c1\u94a5\u5728\u670d\u52a1\u7aef\u7559\u5b58\u3002<\/p>\n

                      \u5ba2\u6237\u7aef\u53d1\u9001\u8bf7\u6c42\u524d\uff0c\u7edf\u4e00\u4f7f\u7528SM2<\/strong>\u7b97\u6cd5\uff0c\u7528\u516c\u94a5\u5bf9\u8bf7\u6c42\u4f53\u8fdb\u884c\u52a0\u5bc6\uff0c\u7136\u540e\u624d\u53d1\u9001\u3002\u670d\u52a1\u7aef\u63a5\u6536\u540e\uff0c\u5148\u5bf9\u62a5\u6587\u7528\u79c1\u94a5\u89e3\u5bc6\u540e\uff0c\u518d\u8fdb\u884c\u7b7e\u540d\u9a8c\u8bc1\u6216\u8005\u540e\u7eed\u64cd\u4f5c\u3002<\/p>\n

                      \n <\/p>\n

                      \n \n <\/g> \n \n \n <\/path> \n \n \n <\/path> \n <\/marker> \n <\/defs> \n <\/g> \n \n <\/path> \n \n \n <\/path> \n <\/marker> \n <\/defs> \n <\/g> \n \n <\/path> \n \n \n <\/path> \n <\/marker> \n <\/defs> \n <\/g> \n \n <\/path> \n \n \n <\/path> \n <\/marker> \n <\/defs> \n <\/g> \n \n <\/path> \n \n \n <\/path> \n <\/marker> \n <\/defs> \n <\/g> \n <\/g> \n \n \n \n <\/rect> \n <\/p>\n

                      \n <\/span> \n <\/div>\n

                      <\/foreignobject> \n <\/g> \n <\/g> \n \n \n <\/rect> \n <\/p>\n

                      \n <\/span> \n <\/div>\n

                      <\/foreignobject> \n <\/g> \n <\/g> \n \n \n <\/rect> \n <\/p>\n

                      \n \u53d1\u9001\u5230\u670d\u52a1\u7aef<\/span> \n <\/div>\n

                      <\/foreignobject> \n <\/g> \n <\/g> \n \n \n <\/rect> \n <\/p>\n

                      \n <\/span> \n <\/div>\n

                      <\/foreignobject> \n <\/g> \n <\/g> \n \n \n <\/rect> \n <\/p>\n

                      \n <\/span> \n <\/div>\n

                      <\/foreignobject> \n <\/g> \n <\/g> \n <\/g> \n \n \n <\/rect> \n \n \n <\/p>\n

                      \n \u5f00\u59cb \n <\/div>\n

                      <\/foreignobject> \n <\/g> \n <\/g> \n <\/g> \n \n <\/rect> \n \n \n <\/p>\n

                      \n \u51c6\u5907\u8bf7\u6c42 \n <\/div>\n

                      <\/foreignobject> \n <\/g> \n <\/g> \n <\/g> \n \n <\/rect> \n \n \n <\/p>\n

                      \n \u4f7f\u7528\u516c\u94a5\u52a0\u5bc6\u8bf7\u6c42\u4f53 \n <\/div>\n

                      <\/foreignobject> \n <\/g> \n <\/g> \n <\/g> \n \n <\/rect> \n \n \n <\/p>\n

                      \n \u670d\u52a1\u7aef\u4f7f\u7528\u79c1\u94a5\u89e3\u5bc6 \n <\/div>\n

                      <\/foreignobject> \n <\/g> \n <\/g> \n <\/g> \n \n <\/rect> \n \n \n <\/p>\n

                      \n \u5f97\u5230\u660e\u6587\u62a5\u6587 \n <\/div>\n

                      <\/foreignobject> \n <\/g> \n <\/g> \n <\/g> \n \n <\/rect> \n \n \n <\/p>\n

                      \n \u7ed3\u675f \n <\/div>\n

                      <\/foreignobject> \n <\/g> \n <\/g> \n <\/g> \n <\/g> \n <\/g> \n <\/g> \n <\/svg>\n<\/div>\n

                      \u4e09\u3001\u54cd\u5e94\u62a5\u6587\u52a0\u5bc6\uff08KEY-MAP + clientKey + SM2-ECC\uff09<\/h3>\n

                      \u4e0a\u8ff0\u8bf7\u6c42\u62a5\u6587\u52a0\u5bc6\u7684\u65b9\u6848\u975e\u5e38\u5e38\u89c1\uff0c\u4e14\u7740\u5b9e\u6709\u6548\uff0c\u5728\u5e02\u573a\u548c\u751f\u4ea7\u73af\u5883\u4e2d\u5df2\u7ecf\u5f97\u5230\u4e86\u5145\u5206\u7684\u8ba4\u8bc1<\/strong>\u3002\u4e0e\u8bf7\u6c42\u62a5\u6587\u4e0d\u540c\u7684\u662f\uff0c\u54cd\u5e94\u62a5\u6587\u5fc5\u987b\u5728\u5ba2\u6237\u7aef\u5b9e\u73b0\u89e3\u5bc6<\/strong>\uff0c\u624d\u53ef\u4fdd\u969c\u5728\u4f20\u8f93\u8fc7\u7a0b\u4e2d\u5168\u7a0b\u5bc6\u6587\u7684\u5b89\u5168\u6027\u3002\u4e09\u664b\u5148\u950b\u7684\u54cd\u5e94\u62a5\u6587\u52a0\u89e3\u5bc6\u4ecd\u7136\u4f7f\u7528RSA\uff0c\u4e14\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u7aef\u4f7f\u7528\u540c\u4e00\u5957\u79c1\u94a5\uff0c\u867d\u7136\u6bcf\u4e2a\u5bf9\u63a5\u65b9\u90fd\u6709\u72ec\u7acb\u7684\u5bc6\u94a5\u5bf9\uff0c \u4f46\u662f\u4ecd\u7136\u6709\u7740\u8f83\u5927\u7684\u5b89\u5168\u9690\u60a3<\/u>\u3002\u4e0d\u8fc7\u7531\u4e8e\u4e09\u664b\u5148\u950b\u662f\u9762\u5411\u670d\u52a1\u7aef\u5bf9\u63a5<\/strong>\uff08\u4e0d\u76f4\u63a5\u8bf7\u6c42\u81ea\u5ba2\u6237\u7aef\uff0c\u6211\u4eec\u662f\uff09\uff0c\u6240\u4ee5\u8fd9\u90e8\u5206\u98ce\u9669\u76f8\u5f53<\/strong>\u5c0f\u3002\u5f53\u7136\u8fd9\u4e9b\u4e0d\u5728\u6211\u4eec\u8ba8\u8bba\u7684\u8303\u7574\u5185\uff0c\u6211\u4eec\u7684\u76ee\u7684\u662f\u4e3a\u4e86\u4fdd\u969c\u4f20\u8f93\u8fc7\u7a0b\u4e2d\u7684\u5b89\u5168\u6027\u3002<\/p>\n

                      \u5b89\u5168\u6027\u8bbe\u8ba1\u4e0d\u5b58\u5728\u7edd\u5bf9\u7684\u5b89\u5168<\/strong>\u3002\u4f46\u662f\u6211\u4eec\u4f1a\u5c3d\u53ef\u80fd\u7684\u52a0\u5927\u5176\u5b89\u5168\u7cfb\u6570<\/strong>\u3002\u4e3a\u6b64\uff0c\u6211\u4eec\u91c7\u7528\u7aef\u5230\u7aef\u52a0\u5bc6\u7684\u65b9\u6848<\/strong>\uff0c\u6df1\u5ea6\u4fdd\u969c\uff1a<\/p>\n

                        \n
                      1. \u5ba2\u6237\u7aef\u4e0d\u7559\u5b58\u5bc6\u94a5<\/strong>\uff0c\u5bc6\u94a5\u548c\u786c\u4ef6+\u7528\u6237<\/strong>\u5173\u8054\uff0c\u5b9e\u73b0\u7aef\u5230\u7aef<\/strong>\u7684\u901a\u4fe1\u3002\u6bcf\u53f0\u624b\u673a\u7684\u5bc6\u94a5\u90fd\u4e0d\u4e00\u6837\uff0c\u9664\u975e\u624b\u673a\u88ab\u5077\uff0c\u5426\u5219\u662f\u5b89\u5168\u7684\u3002\u5177\u4f53\u7684\uff0c\u6211\u4eec\u8981\u505a\u5230\uff1a<\/li>\n<\/ol>\n
                        \n

                        \uff081\uff09\u540c\u4e00\u4e2a\u8bbe\u5907\uff0c\u4e0d\u540c\u7684\u7528\u6237\uff0c\u6709\u7740\u4e0d\u540c\u7684\u5bc6\u94a5<\/p>\n

                        \uff082\uff09\u4e0d\u540c\u8bbe\u5907\uff0c\u540c\u4e00\u4e2a\u7528\u6237\uff0c\u6709\u7740\u4e0d\u540c\u7684\u5bc6\u94a5<\/p>\n

                        \uff083\uff09\u4e0d\u7528\u8bbe\u5907\uff0c\u4e0d\u540c\u7528\u6237\uff0c\u6709\u7740\u4e0d\u540c\u7684\u5bc6\u94a5<\/p>\n

                        \uff084\uff09\u540c\u4e00\u8bbe\u5907\uff0c\u540c\u4e00\u7528\u6237\uff0c\u9000\u51fa\u767b\u5f55\u540e\u518d\u767b\u5f55\uff0c\u6709\u7740\u4e0d\u540c\u7684\u5bc6\u94a5<\/p>\n<\/blockquote>\n

                          \n
                        1. \u5bc6\u94a5\u57fa\u4e8e\u6ce8\u518c\u7684\u65b9\u5f0f\u8fdb\u884c\u5355\u6b21\u901a\u4fe1\uff0c\u5728\u751f\u547d\u5468\u671f\u5185\u4ec5\u5b58\u5728\u4e00\u5bf9\u4e00\u7684\u6620\u5c04<\/strong>\uff0c\u518d\u6b21\u6ce8\u518c\u4e4b\u540e\u4e4b\u524d\u7684\u5bc6\u94a5\u4f1a\u5931\u6548\u3002\u6ce8\u518c\u65f6\u673a\u57cb\u70b9\u5728\u7528\u6237\u6210\u529f\u540e\uff0c\u5ba2\u6237\u7aef\u7684\u56de\u8c03\u5904\u7406\u91cc\uff0c\u7c7b\u4f3c\u4e8e\u5fae\u4fe1\uff0c\u9489\u9489\u5f02\u5730\u767b\u5f55\u9876\u6389\u76ee\u524d\u767b\u5f55\u7684\u8bbe\u5907\u4e00\u6837\u3002<\/li>\n<\/ol>\n

                          3.1 \u6ce8\u518c\u5bc6\u94a5 + \u670d\u52a1\u7aef\u52a0\u5bc6\u7b56\u7565<\/h4>\n

                          \u4e3a\u4e86\u5c3d\u53ef\u80fd\u7684\u89c4\u907f\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u7aef\u4e4b\u95f4\u53d1\u751f\u5bc6\u94a5\u4ea4\u6362\u7684\u60c5\u51b5\uff0c\u6211\u4eec\u8bbe\u8ba1\u4e86\u4e00\u7ec4\u5bc6\u94a5\u751f\u6210\u7b56\u7565\u3002\u4ee5RSA\u5bc6\u94a5\u751f\u6210\u539f\u7406\u800c\u8a00\uff0c\u5bc6\u94a5\u7684\u751f\u6210\u9700\u8981\u4e00\u7ec4\u968f\u673a\u503c\uff0c\u968f\u673a\u503c\u7684\u83b7\u53d6\uff0c\u4e00\u79cd\u662fUUID\uff0c\u57fa\u4e8e\u786c\u4ef6\u751f\u6210\u7684\u552f\u4e00ID\uff0c\u4e00\u79cd\u5c31\u662f\u673a\u5668UDID\uff08\u8bbe\u5907\u552f\u4e00\u8bc6\u522b\u7801\uff09\u3002\u65b9\u6848\u7504\u9009\u65f6\uff0c\u7531\u4e8eUDID\u5728iOS\u8bbe\u5907\u4e0a\u4e0d\u518d\u53d7\u5230\u652f\u6301\uff0c\u6545\u653e\u5f03\u3002<\/s><\/p>\n

                          \u6700\u7ec8\u7684\u5b9e\u73b0\u65b9\u6848\u662f\uff1a**\u7528\u6237\u767b\u5f55\u6362\u53d6token\u6210\u529f\u540e\uff0c\u5ba2\u6237\u7aef\u57fa\u4e8eRSA256\u7b97\u6cd5\uff0c\u57fa\u4e8e\u4e00\u4e2aUUID\u751f\u6210\u4e00\u5957\u5bc6\u94a5\u5bf9\u3002\u7136\u540e\u901a\u8fc7\u7b7e\u540d\u548c\u52a0\u5bc6\u7b97\u6cd5\uff0c\u5c06\u516c\u94a5\u6ce8\u518c\u5230\u670d\u52a1\u7aef\u3002**\u5bc6\u94a5\u5bf9\u4e00\u4e2a\u7528\u6237\u540c\u65f6\u53ea\u6709\u4e00\u5bf9\u53ef\u7528\u3002<\/s><\/p>\n

                          \u4f7f\u7528\u56fd\u5bc62\u692d\u5706\u66f2\u7ebf\u7b97\u6cd5\u540e\uff0c\u4e0d\u518d\u9700\u8981\u968f\u673a\u503c\uff0c\u65b9\u6848\u4fbf\u7b80\u5316\u4e3a\uff1a<\/p>\n

                          \u7528\u6237\u767b\u5f55\u6362\u53d6token\u6210\u529f\u540e\uff0c\u5ba2\u6237\u7aef\u57fa\u4e8ejs\u7248\u672c\u7684\u56fd\u5bc62\u7b97\u6cd5\u5e93\uff0c\u5f53\u4e0b\u76f4\u63a5\u751f\u6210\u4e00\u5957\u5bc6\u94a5\u5bf9\uff0c\u7136\u540e\u901a\u8fc7\u7b7e\u540d\u548c\u52a0\u5bc6\u7b97\u6cd5\uff0c\u5c06\u516c\u94a5\u6ce8\u518c\u5230\u670d\u52a1\u5668\uff0c\u5e76\u4e0e\u5f53\u524dtoken\u8fdb\u884c\u5f52\u5c5e\u7ed1\u5b9a\u3002token\u6709\u6548\u671f\u95f4\uff0c\u4ec5\u5141\u8bb8\u5b58\u5728\u4e00\u5957\u7ed1\u5b9a\u3002<\/strong><\/p>\n

                          3.2 \u6ce8\u518c\u8bbe\u5907\u903b\u8f91<\/h4>\n

                          \u6839\u636e\u6211\u4eec\u4e0a\u9762\u7684\u8bbe\u8ba1\uff0c\u6ce8\u518c\u8bbe\u5907\u7684\u65f6\u673a\u662f\u7528\u6237\u767b\u5f55\uff0c\u548ctoken\u8fdb\u884c\u7ed1\u5b9a\uff0c\u8fd9\u91cc\u6211\u4eec\u63cf\u8ff0\u4e00\u4e0b\u767b\u5f55\u8ba4\u8bc1\u63a5\u53e3\uff08\u6ce8\u518c\u63a5\u53e3\u540c\u7406\uff0c\u7406\u8bba\u4e0a\uff0c\u6ce8\u518c\u5373\u767b\u5f55\uff0c\u6700\u7ec8\u4e5f\u4f1a\u5bf9key\u8fdb\u884c\u7ed1\u5b9a\uff09<\/p>\n

                          POST http:\/\/ s e r v e r : {server}: <\/span><\/span>ser<\/span>v<\/span>er<\/span><\/span><\/span>:<\/span><\/span><\/span><\/span><\/span>{port}\/api\/users\/authenticate<\/strong><\/p>\n

                          \u8bf7\u6c42\u5934\uff1a<\/p>\n

                          { \n   <\/span>\n  \"Sign\"<\/span>:<\/span> \"\u7528\u6237\u7b7e\u540d\"<\/span> \n}<\/span>\n<\/code><\/pre>\n

                          \u8bf7\u6c42\u62a5\u6587\u5982\u4e0b\uff08\u52a0\u5bc6\u7684\uff09\uff1a<\/p>\n

                          { \n   <\/span>\n  \"username\"<\/span>:<\/span> \"\"<\/span>,<\/span>\n  \"password\"<\/span>:<\/span> \"\"<\/span>,<\/span>\n  ...<\/span>,<\/span>\n  \"publicKey\"<\/span>:<\/span> \"ALSDFJLASJDFASLJKFSADF7SDF78AS876FSA98DF9SA8F7S89ADF798===\"<\/span>\n}<\/span>\n<\/code><\/pre>\n

                          \u4e0d\u8fd4\u56de\u4efb\u4f55\u54cd\u5e94\u3002<\/p>\n

                          \u8be5\u63a5\u53e3\u8981\u6c42\u767b\u5f55\u3002\u539f\u5219\u4e0a\uff0c\u5c06\u7528\u6237ID\u4f5c\u4e3a\u6700\u5c0f\u5355\u5143\u8fdb\u884c\u6620\u5c04\u3002<\/p>\n

                          \u6d41\u7a0b\u56fe\u5982\u4e0b\uff1a<\/p>\n

                          \n <\/p>\n

                          \n \n <\/g> \n \n \n <\/path> \n \n \n <\/path> \n <\/marker> \n <\/defs> \n <\/g> \n \n <\/path> \n \n \n <\/path> \n <\/marker> \n <\/defs> \n <\/g> \n \n <\/path> \n \n \n <\/path> \n <\/marker> \n <\/defs> \n <\/g> \n \n <\/path> \n \n \n <\/path> \n <\/marker> \n <\/defs> \n <\/g> \n \n <\/path> \n \n \n <\/path> \n <\/marker> \n <\/defs> \n <\/g> \n \n <\/path> \n \n \n <\/path> \n <\/marker> \n <\/defs> \n <\/g> \n <\/g> \n \n \n \n <\/rect> \n <\/p>\n

                          \n <\/span> \n <\/div>\n

                          <\/foreignobject> \n <\/g> \n <\/g> \n \n \n <\/rect> \n <\/p>\n

                          \n <\/span> \n <\/div>\n

                          <\/foreignobject> \n <\/g> \n <\/g> \n \n \n <\/rect> \n <\/p>\n

                          \n <\/span> \n <\/div>\n

                          <\/foreignobject> \n <\/g> \n <\/g> \n \n \n <\/rect> \n <\/p>\n

                          \n <\/span> \n <\/div>\n

                          <\/foreignobject> \n <\/g> \n <\/g> \n \n \n <\/rect> \n <\/p>\n

                          \n <\/span> \n <\/div>\n

                          <\/foreignobject> \n <\/g> \n <\/g> \n \n \n <\/rect> \n <\/p>\n

                          \n <\/span> \n <\/div>\n

                          <\/foreignobject> \n <\/g> \n <\/g> \n <\/g> \n \n \n <\/rect> \n \n \n <\/p>\n

                          \n \u5f00\u59cb \n <\/div>\n

                          <\/foreignobject> \n <\/g> \n <\/g> \n <\/g> \n \n <\/rect> \n \n \n <\/p>\n

                          \n \u7528\u6237\u767b\u5f55 \n <\/div>\n

                          <\/foreignobject> \n <\/g> \n <\/g> \n <\/g> \n \n <\/rect> \n \n \n <\/p>\n

                          \n \u751f\u6210UUID \n <\/div>\n

                          <\/foreignobject> \n <\/g> \n <\/g> \n <\/g> \n \n <\/rect> \n \n \n <\/p>\n

                          \n \u751f\u6210RSA\u5bc6\u94a5\u5bf9\u672c\u5730\u7f13\u5b58 \n <\/div>\n

                          <\/foreignobject> \n <\/g> \n <\/g> \n <\/g> \n \n <\/rect> \n \n \n <\/p>\n

                          \n \u516c\u94a5\u7b7e\u540d\u548c\u52a0\u5bc6 \n <\/div>\n

                          <\/foreignobject> \n <\/g> \n <\/g> \n <\/g> \n \n <\/rect> \n \n \n <\/p>\n

                          \n \u53d1\u9001\u6ce8\u518c\u8bf7\u6c42 \n <\/div>\n

                          <\/foreignobject> \n <\/g> \n <\/g> \n <\/g> \n \n <\/rect> \n \n \n <\/p>\n

                          \n \u7ed3\u675f \n <\/div>\n

                          <\/foreignobject> \n <\/g> \n <\/g> \n <\/g> \n <\/g> \n <\/g> \n <\/g> \n <\/svg>\n<\/div>\n

                          3.3 \u670d\u52a1\u7aef\u52a0\u5bc6\u548c\u5bc6\u94a5\u7f13\u5b58<\/h4>\n

                          \u670d\u52a1\u7aef\u63a5\u6536\u5230\u7ed1\u5b9a\u8bf7\u6c42\u540e\uff0c\u4f1a\u5c06\u8be5\u5bc6\u94a5\u5bf9\u8fdb\u884c\u7f13\u5b58\uff0c\u653e\u5165redis\u7528\u6237\u7f13\u5b58\u533a\uff0c\u4ee5\u4fbf\u540e\u7eed\u4f7f\u7528\u3002\u653e\u5165redis\uff0c\u4e5f\u80fd\u4fdd\u969c\u5206\u5e03\u5f0f\u73af\u5883\u4e0b\u7684\u5bc6\u94a5\u539f\u5b50\u6027\u95ee\u9898\uff0c\u4fdd\u8bc1\u4e00\u4e2a\u7528\u6237\u540c\u4e00\u65f6\u523b\u53ea\u6709\u4e00\u5bf9\u5bc6\u94a5\u53ef\u7528\u3002<\/p>\n

                          \u6d41\u7a0b\u56fe\u5982\u4e0b\uff1a<\/p>\n

                          \n <\/p>\n

                          \n \n <\/g> \n \n \n <\/path> \n \n \n <\/path> \n <\/marker> \n <\/defs> \n <\/g> \n \n <\/path> \n \n \n <\/path> \n <\/marker> \n <\/defs> \n <\/g> \n \n <\/path> \n \n \n <\/path> \n <\/marker> \n <\/defs> \n <\/g> \n \n <\/path> \n \n \n <\/path> \n <\/marker> \n <\/defs> \n <\/g> \n \n <\/path> \n \n \n <\/path> \n <\/marker> \n <\/defs> \n <\/g> \n \n <\/path> \n \n \n <\/path> \n <\/marker> \n <\/defs> \n <\/g> \n \n <\/path> \n \n \n <\/path> \n <\/marker> \n <\/defs> \n <\/g> \n \n <\/path> \n \n \n <\/path> \n <\/marker> \n <\/defs> \n <\/g> \n <\/g> \n \n \n \n <\/rect> \n <\/p>\n

                          \n <\/span> \n <\/div>\n

                          <\/foreignobject> \n <\/g> \n <\/g> \n \n \n <\/rect> \n <\/p>\n

                          \n <\/span> \n <\/div>\n

                          <\/foreignobject> \n <\/g> \n <\/g> \n \n \n <\/rect> \n <\/p>\n

                          \n <\/span> \n <\/div>\n

                          <\/foreignobject> \n <\/g> \n <\/g> \n \n \n <\/rect> \n <\/p>\n

                          \n <\/span> \n <\/div>\n

                          <\/foreignobject> \n <\/g> \n <\/g> \n \n \n <\/rect> \n <\/p>\n

                          \n <\/span> \n <\/div>\n

                          <\/foreignobject> \n <\/g> \n <\/g> \n \n \n <\/rect> \n <\/p>\n

                          \n <\/span> \n <\/div>\n

                          <\/foreignobject> \n <\/g> \n <\/g> \n \n \n <\/rect> \n <\/p>\n

                          \n <\/span> \n <\/div>\n

                          <\/foreignobject> \n <\/g> \n <\/g> \n \n \n <\/rect> \n <\/p>\n

                          \n <\/span> \n <\/div>\n

                          <\/foreignobject> \n <\/g> \n <\/g> \n <\/g> \n \n \n <\/rect> \n \n \n <\/p>\n

                          \n \u5f00\u59cb \n <\/div>\n

                          <\/foreignobject> \n <\/g> \n <\/g> \n <\/g> \n \n <\/rect> \n \n \n <\/p>\n

                          \n \u7528\u6237\u8bf7\u6c42 \n <\/div>\n

                          <\/foreignobject> \n <\/g> \n <\/g> \n <\/g> \n \n <\/rect> \n \n \n <\/p>\n

                          \n \u89e3\u5bc6\u8bf7\u6c42 \n <\/div>\n

                          <\/foreignobject> \n <\/g> \n <\/g> \n <\/g> \n \n <\/rect> \n \n \n <\/p>\n

                          \n \u5904\u7406\u903b\u8f91 \n <\/div>\n

                          <\/foreignobject> \n <\/g> \n <\/g> \n <\/g> \n \n <\/rect> \n \n \n <\/p>\n

                          \n \u751f\u6210\u54cd\u5e94\u4f53 \n <\/div>\n

                          <\/foreignobject> \n <\/g> \n <\/g> \n <\/g> \n \n <\/rect> \n \n \n <\/p>\n

                          \n \u7528\u6237\u8eab\u4efd\u786e\u8ba4\u516c\u94a5 \n <\/div>\n

                          <\/foreignobject> \n <\/g> \n <\/g> \n <\/g> \n \n <\/rect> \n \n \n <\/p>\n

                          \n \u4f7f\u7528\u516c\u94a5\u52a0\u5bc6 \n <\/div>\n

                          <\/foreignobject> \n <\/g> \n <\/g> \n <\/g> \n \n <\/rect> \n \n \n <\/p>\n

                          \n \u53d1\u9001\u54cd\u5e94 \n <\/div>\n

                          <\/foreignobject> \n <\/g> \n <\/g> \n <\/g> \n \n <\/rect> \n \n \n <\/p>\n

                          \n \u7ed3\u675f \n <\/div>\n

                          <\/foreignobject> \n <\/g> \n <\/g> \n <\/g> \n <\/g> \n <\/g> \n <\/g> \n <\/svg>\n<\/div>\n

                          3.4 \u5ba2\u6237\u7aef\u89e3\u5bc6\u8bf7\u6c42\u4f53<\/h4>\n

                          \u6ce8\u518c\u5bc6\u94a5\u540e\uff0c\u5ba2\u6237\u7aef\u5df2\u7ecf\u53ef\u4ee5\u6b63\u5e38\u53d1\u9001\u8bf7\u6c42\u3002\u670d\u52a1\u7aef\u8fd4\u56de\u7684\u62a5\u6587\u4e3a\u5bc6\u6587\uff0c\u5ba2\u6237\u7aef\u4f7f\u7528\u5f53\u524d\u7f13\u5b58\u7684\u5bc6\u94a5\u5bf9\uff0c\u5f97\u5230\u79c1\u94a5\u8fdb\u884c\u89e3\u5bc6\u3002\u89e3\u5bc6\u53ea\u6709\u6210\u529f\u548c\u5931\u8d25\u4e24\u79cd\u7ed3\u679c\uff0c\u89e3\u5bc6\u6210\u529f\uff0c\u6b63\u5e38\u5904\u7406\u540e\u7eed\u903b\u8f91\uff1b\u89e3\u5bc6\u5931\u8d25\uff0c\u5ba2\u6237\u7aef\u89e6\u53d1\u9000\u51fa\u767b\u5f55\u52a8\u4f5c\uff0c\u5f39\u51fa\u7528\u6237\u7684\u975e\u6cd5\u8bf7\u6c42\u3002<\/p>\n

                          3.5 \u5b89\u5168\u6027\u52a0\u56fa\u548c\u65f6\u6548\u7b56\u7565\u8003\u8651<\/h4>\n

                          \u672c\u65b9\u6848\u867d\u7136\u80fd\u591f\u4e25\u683c\u4fdd\u969c\u901a\u4fe1\u5b89\u5168\uff0c\u4f46\u662f\u5b58\u5728\u64cd\u4f5c\u6f0f\u6d1e\uff08\u4e0d\u5b58\u5728\u4f20\u8f93\u8fc7\u7a0b\u6f0f\u6d1e\uff09\u3002\u5982\u679c\u9ed1\u5ba2\u5df2\u7ecf\u53d6\u5f97\u4e86\u7528\u6237token\uff0c\u5e76\u4e14\u622a\u83b7\u4e86\u6211\u4eec\u7684\u516c\u94a5\uff0c\u5f97\u5230\u4e86\u7b7e\u540d\u7b97\u6cd5\uff0c\u5c31\u53ef\u4ee5\u81ea\u7531\u7684\u751f\u6210UUID\u5f3a\u884c\u6362\u53d6\u5bc6\u94a5\u5bf9\u8fdb\u884c\u6076\u610f\u6ce8\u518c\uff0c\u663e\u7136\u8fd9\u662f\u4e0d\u88ab\u5141\u8bb8\u7684\u3002<\/p>\n

                          \u4e3a\u4e86\u89c4\u907f\u8fd9\u4e00\u70b9\uff0c\u6211\u4eec\u8981\u6c42\u8bbe\u5907\u5728\u7528\u6237\u767b\u5f55\u65f6\u5c31\u63d0\u4f9b\u516c\u94a5\u4fe1\u606f\uff0c\u8fd9\u6837\u4e00\u6765\uff0c\u9ed1\u5ba2\u4e0d\u5149\u5f97\u622a\u83b7token\uff0c\u8fd8\u5f97\u719f\u77e5\u7528\u6237\u7684\u8d26\u53f7\uff0c\u5bc6\u7801\u6216\u9a8c\u8bc1\u7801\u7b49\u4fe1\u606f\uff0c\u800c\u4e14\u6ca1\u6709\u8bf7\u6c42\u516c\u94a5\u65e0\u6cd5\u89e3\u5bc6\uff0c\u6700\u7ec8\u9ed1\u5ba2\u5c06\u675f\u624b\u65e0\u7b56\u3002<\/p>\n

                          \u6211\u4eec\u5c06\u4e0a\u8ff0\u65b9\u6848\u6539\u9020\u4e3a\u548c\u767b\u5f55\u63a5\u53e3\u7ed3\u5408\u7684\u7b56\u7565\u3002\u7528\u6237\u8f93\u5165\u8d26\u53f7\u5bc6\u7801\uff08\u9a8c\u8bc1\u7801\uff09\u540e\uff0c\u7531app\u7aef\u6267\u884c\u5bc6\u94a5\u751f\u6210\uff0c\u5e76\u62fc\u63a5\u5230\u767b\u5f55\u8bf7\u6c42\u4f53\u5185\u3002<\/p>\n

                          \u8bf7\u6c42\u62a5\u6587\u5c06\u53d8\u4e3a\uff1a<\/p>\n

                          { \n   <\/span>\n  \"phone\"<\/span>:<\/span> \"152123121231\"<\/span>,<\/span>\n  \"code\"<\/span>:<\/span> \"215331\"<\/span>,<\/span>\n  \"key\"<\/span>:<\/span> \"ALSDFJLASJDFASLJKFSADF7SDF78AS876FSA98DF9SA8F7S89ADF798===\"<\/span>\n}<\/span>\n<\/code><\/pre>\n

                          \u54cd\u5e94\u4ec5\u8fd4\u56detoken<\/p>\n

                          \u56db\u3001 \u5168\u5c40\u6e20\u9053\u6807\u8bc6<\/h3>\n

                          app\u5728\u63a5\u53e3\u8c03\u7528\u8fc7\u7a0b\u4e2d\uff0c\u9700\u8981\u660e\u786e\u6807\u8bb0\u8c03\u7528\u6e20\u9053\uff0c\u4ee5\u65b9\u4fbf\u4e4b\u540e\u7684\u57cb\u70b9\u3001\u7ec8\u7aef\u7edf\u8ba1\u7b49\u529f\u80fd\u3002<\/p>\n

                          \u9700\u8981\u5168\u5c40\u7684\u5728\u8bf7\u6c42\u5934\u4e2d\u6dfb\u52a0Channel<\/code>\uff0c\u53ef\u9009\u503c\u4e3aios<\/code>, android<\/code>, web<\/code>, h5<\/code>\u7b49<\/p>\n","protected":false},"excerpt":{"rendered":"app\u7aef\u5b89\u5168\u6027\u52a0\u5bc6\u7b56\u7565\u662f\u4ec0\u4e48_\u82f9\u679c\u624b\u673a\u5982\u4f55\u5bf9app\u8fdb\u884c\u52a0\u5bc6\u4e00\u79cd\u7b7e\u540d+\u9a8c\u7b7e\u7684\u8bbe\u8ba1\u65b9\u6848\uff0c\u4f9b\u5927\u5bb6\u53c2\u8003_app\u7aef\u53d1\u8d77\u7684\u8bf7\u6c42\u5185\u5bb9\u9700\u8981\u52a0\u5bc6\u5417","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8746"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8746"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8746\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8746"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8746"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8746"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}