{"id":225358,"date":"2020-12-03T05:19:59","date_gmt":"2020-12-02T21:19:59","guid":{"rendered":"http:\/\/4563.org\/?p=225358"},"modified":"2020-12-03T05:19:59","modified_gmt":"2020-12-02T21:19:59","slug":"url-scheme-%e5%8f%af%e4%bb%a5%e8%8e%b7%e5%8f%96%e8%bf%94%e5%9b%9e%e5%80%bc%e5%90%97%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=225358","title":{"rendered":"URL Scheme \u53ef\u4ee5\u83b7\u53d6\u8fd4\u56de\u503c\u5417\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  URL Scheme \u53ef\u4ee5\u83b7\u53d6\u8fd4\u56de\u503c\u5417\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : nidongpinyinme <\/span>  <span><i><\/i> 2<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<ul>\n<li>\u8001\u54e5\u4eec\u665a\u4e0a\u597d\uff0c\u4e0b\u73ed\u4e86\u5417<\/li>\n<li>\u6700\u8fd1\u5728\u7528<strong>\u5e74\u8f6e 3<\/strong>\u80cc\u5355\u8bcd\uff0c\u7814\u7a76\u5b98\u65b9\u6587\u6863\u65f6\u53d1\u73b0\u8f6f\u4ef6\u63d0\u4f9b\u4e86URL Scheme\uff0c\u5176\u4e2d\u63d0\u5230\u4e86\u4e00\u53e5 <code>\u82e5\u521b\u5efa\u6210\u529f\uff0c\u8fd4\u56de\u521b\u5efa\u7684\u5361\u7247\u6807\u5fd7\u7b26<\/code><\/li>\n<li>\u54b1\u4e5f\u4e0d\u77e5\u9053\u662f\u81ea\u5df1\u89c1\u8bc6\u77ed\u4e86\u8fd8\u662f\u6587\u6863\u5199\u4e32\u4e86<\/li>\n<li><em><strong>URL Scheme \u53ef\u4ee5\u83b7\u53d6\u8fd4\u56de\u503c\u5417\uff1f<\/strong><\/em><\/li>\n<\/ul><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>9<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4557591\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : also24 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd9\u6587\u6863\u7684\u5f00\u5934\u4e0d\u662f\u5199\u4e86\u561b\uff1a<\/p>\n<p>\u5e74\u8f6e\u5bf9\u4e8e\u6bcf\u4e2a URL \u4f1a\u8bfb\u53d6\u4ee5\u4e0b callback \u53c2\u6570<br \/>\u2022 x-success \u6210\u529f\u540e\u6253\u5f00 URL<br \/>\u2022 x-error \u9519\u8bef\u540e\u6253\u5f00 URL<br \/>\u2022 x-callback \u5982\u679c x-success \u6216 x-error \u6ca1\u6709\u63d0\u4f9b\u65f6\uff0c\u4f1a\u6253\u5f00 x-callback<br \/>\u6240\u6709\u547d\u4ee4\u7684\u8fd4\u56de\u503c\uff0c\u5c06\u5728\u56de\u8c03 URL \u7684\u67e5\u9605\u53c2\u6570\u4e2d                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4557592\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : nidongpinyinme <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @also24 \u770b\u662f\u770b\u5230\u4e86\uff0c\u4f46\u662f\u6ca1\u8bfb\u660e\u767d\uff0c\u6bd4\u5982\u8bf4\u6211\u8981\u8fdb\u884c\u201c\u6dfb\u52a0\u5e76\u6253\u5f00\u65b0\u5efa\u7684\u5361\u7247\u201d\u64cd\u4f5c\uff0cx-success \u91cc\u5199\u5565\u5462                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4557593\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : also24 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @nidongpinyinme #2 <br \/>\u7b80\u5355\u70b9\u8bf4\u5c31\u662f\uff0c\u4f60\u81ea\u5df1\u518d\u63d0\u4f9b\u4e00\u4e2a\u81ea\u5df1\u7684 URL Scheme\uff0c\u7136\u540e\u5b83\u4f1a\u4e3b\u52a8\u8c03\u7528\u76f8\u5e94\u7684 URL<\/p>\n<p>\u4f8b\u5982\u4f60\u81ea\u5df1\u652f\u6301\u4e2a\uff1ayourapp:\/\/yourpath\/path\/success<\/p>\n<p>\u90a3\u4f60\u8c03\u8d77\u5b83\u7684 URL Scheme \u7684\u65f6\u5019\uff0c\u5c31\u4f20\u53c2\uff1a<br \/>x-success=yourapp%3a%2f%2fyourpath%2fpath%2fsuccess                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4557594\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : nidongpinyinme <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @also24 \u4e0d\u662f\u8fd9\u6837\u7684\u54e5\uff0c\u6211\u8c03\u7528 add-card \u8fdb\u884c\u6dfb\u52a0\uff0c\u5b8c\u4e86\u4e4b\u540e\u6211\u60f3\u6253\u5f00\u8fd9\u4e2a\u65b0\u6dfb\u52a0\u7684\u5361\u7247\uff0c\u4f46\u662f\u6253\u5f00\u5361\u7247\u9700\u8981 card-id\uff0c\u662f add-card \u6267\u884c\u4e4b\u540e\u8fd4\u56de\u7684\uff0c\u6211\u600e\u4e48\u83b7\u53d6\u8fd9\u4e2a\u8fd4\u56de\u7684 card-id \u5462<\/p>\n<p>\u6216\u8005\u6309\u7167\u6587\u6863\u91cc\u8bf4\u7684\uff0c\u8fd4\u56de\u503c\u653e\u5728\u56de\u8c03\u51fd\u6570\u7684\u53c2\u6570\u5217\u8868\u91cc\u4e86\uff0c\u6211\u5e94\u8be5\u600e\u4e48\u7528\u5462\uff0c\u5c1d\u8bd5\u4e86 add-card \u53c2\u6570\u7f6e\u7a7a\u662f\u62a5\u9519\u7684                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4557595\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : also24 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @nidongpinyinme #4 <br \/>\u6211\u611f\u89c9\u4f60\u6ca1\u770b\u660e\u767d\u2026\u2026<\/p>\n<p>\u6211\u591a\u5199\u4e00\u70b9\u5427\uff0c\u4f60\u60f3\u8981\u6dfb\u52a0\u5361\u7247\uff0c\u90a3\u4e48\u5c31\u4f1a\u8c03\u7528\uff1a<br \/>mematom:\/\/add-card?title=biaoti&amp;api-token=xxx <\/p>\n<p>\u7136\u540e\u8fd9\u4e2a\u63a5\u53e3\uff0c\u4f60\u671f\u671b\u8fd4\u56de card-id \u5bf9\u5427\uff0c\u90a3\u4e48\u4f60\u9700\u8981\u5728\u81ea\u5df1\u7684 APP \u91cc\uff0c\u652f\u6301\u4e00\u4e2a\u81ea\u5df1\u7684 URL Scheme\uff0c\u4f8b\u5982\uff1a<br \/>yourapp:\/\/add-card-callback<\/p>\n<p>\u7136\u540e\u628a\u8fd9\u4e2a URL Scheme , \u62fc\u8fdb\u4f60\u8981\u8c03\u7528\u7684 URL Scheme \u91cc\u8fdb\u884c\u8c03\u7528\uff0c\u4e5f\u5c31\u662f\uff1a<br \/>mematom:\/\/add-card?title=biaoti&amp;api-token=xxx&amp;x-success=yourapp%3a%2f%2fadd-card-callback<\/p>\n<p>\u90a3\u4e48 mematom \u5728\u5b8c\u6210 add-card \u7684\u64cd\u4f5c\u540e\uff0c\u4f1a\u63d0\u53d6\u51fa\u4f60\u7684 URL Scheme\uff0c\u62fc\u4e0a\u9700\u8981\u56de\u8c03\u7684\u53c2\u6570\u8fdb\u884c\u8c03\u7528\uff0c\u4e5f\u5c31\u662f\uff1a<br \/>yourapp:\/\/add-card-callback?card-id=123<\/p>\n<p>\u8fd9\u4e2a URL Scheme \u4f1a\u5524\u8d77\u4f60\u7684 APP \u8fdb\u884c\u5904\u7406\uff0c\u4f60\u7ee7\u7eed\u505a\u4e0b\u4e00\u6b65\u64cd\u4f5c\u5c31\u597d\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4557596\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : nidongpinyinme <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @also24 \u54e5\uff0c\u73b0\u5728\u7684\u60c5\u51b5\u5462\uff0c\u662f\u6211\u6ca1\u5fc5\u8981\u7528\u6211\u81ea\u5df1\u7684 app\uff0c\u5c31\u7528\u5b83\u7684\u63a5\u53e3\uff0c\u6253\u5f00\u8fd9\u4e2a\u65b0\u5efa\u7684\u5361\u7247<\/p>\n<p>mematom:\/\/add-card?title=biaoti&amp;api-token=xxx&amp;x-success={{mematom:\/\/open-card?}}<\/p>\n<p>\u5927\u6982\u8fd9\u4e2a\u6837\u5b50\uff0c\u6309\u7406\u8bf4\u5b83\u5e94\u8be5\u81ea\u52a8\u628a card-id \u62fc\u63a5\u5728\u540e\u9762\u5bf9\u5427\uff0c\u4f46\u662f\u5b9e\u9645\u6267\u884c\u597d\u50cf\u4e0d\u592a\u5bf9\uff0c\u56e0\u4e3a\u6211\u6ca1\u51c6\u5907\u518d\u81ea\u5df1\u5199\u4e00\u4e2a app \u8fdb\u884c\u5904\u7406\uff0c\u6240\u4ee5\u6d4b\u8bd5\u73af\u5883\u4e0d\u592a\u9f50\u5168\uff0c\u6b63\u5728\u60f3\u62db\u628a x-success \u91cc\u7684\u4e1c\u897f\u6253\u5370\u51fa\u6765                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4557597\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : also24 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u8fd9\u4e2a open-card \u540e\u9762\u5e94\u8be5\u4e0d\u9700\u8981\u5e26 ? \u624d\u5bf9\u3002<br \/>\u53e6\u5916\u6211\u4e0d\u592a\u786e\u5b9a\u4f60\u8fd9\u4e2a\u6a21\u677f\u662f\u5426\u6709\u6b63\u5e38\u7684\u505a\u8f6c\u4e49\u3002<\/p>\n<p>\u5728 APP \u5185\u8c03\u7528\u5b83\u81ea\u5df1\u7684 URL Scheme \u662f\u5426\u6709\u5751\uff0c\u8fd9\u4e2a\u6211\u4e0d\u592a\u786e\u5b9a\u3002<\/p>\n<p>\u5982\u679c\u4f60\u60f3\u6d4b\u8bd5 x-success \u7684\u5185\u5b58\uff0c\u53ef\u4ee5\u5c06 x-success \u7684\u94fe\u63a5\u5199\u4e2a\u666e\u901a\u7f51\u5740\uff0c\u4f8b\u5982 https:\/\/httpbin.org\/anything                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4557598\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : also24 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             typo: <br \/>\u6d4b\u8bd5 x-success \u7684\u5185\u5b58 -&gt; \u6d4b\u8bd5 x-success \u7684\u5185\u5bb9                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4557599\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : nidongpinyinme <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @also24 \u597d\u7684\uff0c\u8c22\u8c22\u54e5\uff0c\u6211\u518d\u8bd5\u8bd5                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>URL Scheme \u53ef\u4ee5\u83b7\u53d6\u8fd4\u56de&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/225358"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=225358"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/225358\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=225358"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=225358"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=225358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}