{"id":59717,"date":"2025-08-15T15:30:36","date_gmt":"2025-08-15T07:30:36","guid":{"rendered":"https:\/\/app.applebyme.cn\/cloud\/?p=59717"},"modified":"2025-08-15T15:30:36","modified_gmt":"2025-08-15T07:30:36","slug":"%e8%8b%a5%e4%be%9d%e8%83%bd%e6%89%93%e5%8c%85%e6%88%90app%e5%90%97%ef%bc%9f%e6%80%8e%e4%b9%88%e6%89%93%e5%8c%85%e7%9a%84%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/app.applebyme.cn\/cloud\/appkaifa\/59717.html","title":{"rendered":"\u82e5\u4f9d\u80fd\u6253\u5305\u6210app\u5417\uff1f\u600e\u4e48\u6253\u5305\u7684\uff1f"},"content":{"rendered":"<p>\u82e5\u4f9d\u662f\u4e00\u4e2a\u57fa\u4e8eSpring Boot\u3001Spring Security\u548cVue\u7684\u524d\u540e\u7aef\u5206\u79bb\u6743\u9650\u7ba1\u7406\u7cfb\u7edf\u3002\u5176\u529f\u80fd\u9f50\u5168<a href=\"https:\/\/appfengzhuang.yimenapp.com\/app-1062.html\">h5\u5957app\u7684\u58f3<\/a>\uff0c\u754c\u9762\u7b80\u6d01\u7f8e\u89c2\u4e14\u6613\u4e8e\u64cd\u4f5c\uff0c\u662f\u4e00\u4e2a\u975e\u5e38\u53d7\u6b22\u8fce\u7684\u5e94\u7528\u3002\u7136\u800c\uff0c\u5f00\u53d1\u8005\u662f\u5426\u53ef\u4ee5\u5c06\u5176\u6253\u5305\u6210\u5e94\u7528\u5462\uff1f\u4e3a\u4e86\u89e3\u7b54\u8fd9\u4e2a\u95ee\u9898\uff0c\u4e0d\u4ec5\u9700\u8981\u63a2\u8ba8\u5176\u6280\u672f\u539f\u7406\uff0c\u8fd8\u9700\u8981\u4e86\u89e3\u5c06WEB\u5e94\u7528\u8f6c\u5316\u4e3aAPP\u7684\u76f8\u5173\u65b9\u6cd5\u3002<\/p>\n<p>### \u6280\u672f\u539f\u7406<\/p>\n<p>\u82e5\u4f9d\u7684\u6280\u672f\u6846\u67b6\u4e3b\u8981\u5305\u62ec\u4ee5\u4e0b\u51e0\u70b9\uff1a<\/p>\n<p>1. \u4f7f\u7528Spring Boot\u4f5c\u4e3a\u540e\u7aef\u5f00\u53d1\u6846\u67b6\uff0c\u63d0\u4f9b\u4e86\u4f17\u591a\u4fbf\u5229\u7684\u5f00\u53d1\u7279\u6027\u53ca\u7ea6\u5b9a\uff0c\u4f7f\u5f97\u5f00\u53d1\u66f4\u4e3a\u7b80\u5355\u9ad8\u6548\u3002<\/p>\n<p>2. \u524d\u7aef\u91c7\u7528Vue.js\u6846\u67b6\u53caElement UI\u7ec4\u4ef6\u5e93\u6784\u5efa\u9875\u9762\uff0c\u5b9e\u73b0\u4e86\u4f18\u79c0\u7684\u7528\u6237\u4f53\u9a8c\u3002<\/p>\n<p>3. <\/p>\n<p><figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i.yimenyun.net\/2023-04\/07\/10\/16055305551.jpg\" \/><\/figure>\n<\/p>\n<p>\u901a\u8fc7Spring Security\u5b9e\u73b0\u4e86\u6743\u9650\u63a7\u5236\u3001\u8ba4\u8bc1\u7b49\u5b89\u5168\u7ba1\u7406\u529f\u80fd\u3002<\/p>\n<p>4. \u91c7\u7528\u4e86MyBatis-Plus\u4f5c\u4e3a\u6301\u4e45\u5c42\u6846\u67b6\uff0c\u63d0\u4f9b\u4e86\u4fbf\u6377\u7684CRUD\u64cd\u4f5c\uff0c\u65b9\u4fbf\u5f00\u53d1\u8005\u4e0e\u6570\u636e\u5e93\u4ea4\u4e92\u3002<\/p>\n<p>5. \u96c6\u6210\u4e86Swagger\uff0c\u4e3a\u524d\u7aef\u548c\u540e\u7aef\u63d0\u4f9bAPI\u63a5\u53e3\u6587\u6863\u5728\u7ebf\u81ea\u52a8\u751f\u6210\uff0c\u65b9\u4fbf\u6d4b\u8bd5\u53ca\u534f\u4f5c\u5f00\u53d1\u3002<\/p>\n<p>### \u6253\u5305\u6210APP\u7684\u65b9\u6cd5<\/p>\n<p>\u5728\u5c06\u82e5\u4f9d\u5e94\u7528\u6253\u5305\u6210APP\u4e4b\u524d\uff0c\u9700\u8981\u4e86\u89e3\u4ee5\u4e0b\u51e0\u79cd\u9014\u5f84\uff1a<\/p>\n<p>1. \u901a\u8fc7Apache Cordova\u5c06WEB\u5e94\u7528\u5c01\u88c5\u6210\u4e00\u4e2a\u539f\u751f\u5e94\u7528\u3002Cordova\u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u79fb\u52a8\u7aef\u5f00\u53d1\u6846\u67b6\uff0c\u5b83\u53ef\u4ee5\u5c06HTML\u3001CSS\u548cJS\u7b49\u6587\u4ef6\u6253\u5305\u6210\u4e00\u4e2a\u539f\u751f\u5e94\u7528\u3002\u8fd9\u7c7b\u5e94\u7528\u4e3b\u8981\u901a\u8fc7WebView\u5c55\u793a\u7f51\u9875\u5185\u5bb9\uff0c\u4f7f\u7528\u6237\u4f53\u9a8c\u8fd1\u4f3c\u4e8e\u539f\u751f\u5e94\u7528\u3002<\/p>\n<p>2. \u57fa\u4e8ePWA\uff08Progressive Web App\uff09\u6280\u672f\u6539\u9020WEB\u5e94\u7528\u3002PWA\u6280\u672f\u878d\u5408\u4e86Web\u5f00\u53d1\u6280\u672f\u548c\u90e8\u5206\u539f\u751f\u5e94\u7528\u7279\u6027\uff0c\u63d0\u4f9b\u4e86\u79bb\u7ebf\u8bbf\u95ee\u3001\u6d88\u606f\u63a8\u9001\u7b49\u529f\u80fd\u3002\u7528\u6237\u53ef\u4ee5\u5728\u79fb\u52a8\u7aef\u901a\u8fc7\u6dfb\u52a0\u5230\u4e3b\u5c4f\u5e55\u529f\u80fd\u5c06PWA\u5e94\u7528\u6dfb\u52a0\u5230\u8bbe\u5907\u7684\u5e94\u7528\u5217\u8868\u4e2d\uff0c\u4ece\u800c\u5b9e\u73b0\u7c7b\u4f3cAPP\u7684\u4f53\u9a8c\u3002<\/p>\n<p>### \u5c06\u82e5\u4f9d\u5e94\u7528\u6253\u5305\u6210APP\u7684\u6b65\u9aa4<\/p>\n<p>\u4ee5Apache Cordova\u4e3a\u4f8b\uff0c\u4ee5\u4e0b\u4e3a\u5c06\u82e5\u4f9d\u5e94\u7528\u6253\u5305\u6210APP\u7684\u5927\u81f4\u6b65\u9aa4\uff1a<\/p>\n<p>1. \u5b89\u88c5Node.js\uff0c\u786e\u4fdd\u53ef\u4ee5\u6b63\u5e38\u4f7f\u7528npm\u547d\u4ee4\u3002<\/p>\n<p>2. \u4f7f\u7528npm\u5b89\u88c5Apache Cordova: `npm install -g cordova`\u3002<\/p>\n<p>3. \u4f7f\u7528Cordova\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u5e94\u7528\uff0c\u5e76\u5c06\u82e5\u4f9d\u524d\u7aef\u4ee3\u7801\u653e\u7f6e\u5728`www`\u76ee\u5f55\u4e0b\u3002<\/p>\n<p>4. \u4f7f\u7528`cordova platform add`\u547d\u4ee4\u6dfb\u52a0\u9700\u8981\u652f\u6301\u7684\u5e73\u53f0\uff0c\u5982Android\u6216iOS\u3002<\/p>\n<p>5. \u4fee\u6539`config.xml`\u6587\u4ef6\uff0c\u914d\u7f6e\u5e94\u7528\u4fe1\u606f\u3001\u63d2\u4ef6\u7b49\u76f8\u5173\u5185\u5bb9\u3002<\/p>\n<p>6. \u4f7f\u7528`cordova build`\u547d\u4ee4\u7f16\u8bd1\u5e94\u7528\uff0c\u751f\u6210\u76f8\u5e94\u5e73\u53f0\u7684\u5b89\u88c5\u5305\u6587\u4ef6\u3002<\/p>\n<p>7. \u5c06\u751f\u6210\u7684\u5b89\u88c5\u5305\u6587\u4ef6\u5b89\u88c5\u5230\u76f8\u5e94\u8bbe\u5907\u4e2d\u8fdb\u884c\u6d4b\u8bd5\uff0c\u4fee\u590d\u53ef\u80fd\u5b58\u5728\u7684\u95ee\u9898\u3002<\/p>\n<p>\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u7531\u4e8e\u82e5\u4f9d\u5e94\u7528\u7684\u524d\u540e\u7aef\u5206\u79bb\uff0c\u524d\u7aef\u6253\u5305\u6210APP\u540e\u8fd8\u9700\u8981\u540e\u7aef\u670d\u52a1\u5668\u63d0\u4f9b\u652f\u6301\u3002\u6b64\u5916\uff0c\u4e3a\u4e86\u83b7\u5f97\u66f4\u597d\u7684\u4f53\u9a8c\uff0cAPP\u53ef\u80fd\u9700\u8981\u4e0e\u539fWEB\u5e94\u7528\u8fdb\u884c\u9002\u5f53\u7684\u4ea4\u4e92\u4f18\u5316\u3002<\/p>\n<p>### \u603b\u7ed3<\/p>\n<p>\u5c06\u82e5\u4f9dWEB\u5e94\u7528\u6253\u5305\u6210APP\u662f\u53ef\u884c\u7684\uff0c\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528Apache Cordova\u7b49\u6846\u67b6\u5c06\u524d\u7aef\u4ee3\u7801\u5c01\u88c5\u6210\u4e00\u4e2a\u539f\u751f\u5e94\u7528\u3002\u6b64\u5916\uff0c\u8fd8\u53ef\u4ee5\u8003\u8651\u57fa\u4e8ePWA\u6280\u672f\u6539\u9020\u82e5\u4f9d\u5e94\u7528\uff0c\u4e3a\u7528\u6237\u63d0\u4f9b\u7c7b\u4f3c\u4e8e\u539f\u751f<a href=\"https:\/\/appfengzhuang.yimenapp.com\/app-926.html\">apkpurs<\/a>APP\u7684\u4f53\u9a8c\u3002\u7136\u800c\uff0c\u5728\u5b9e\u9645\u64cd\u4f5c\u8fc7\u7a0b\u4e2d\uff0c\u9700\u8981\u6838\u5b9e\u5e76\u4fee\u590d\u53ef\u80fd\u5b58\u5728\u7684\u517c\u5bb9\u6027\u53ca\u4ea4\u4e92\u95ee\u9898\uff0c\u4ee5\u786e\u4fdd\u5c06\u82e5\u4f9d\u5e94\u7528\u6210\u529f\u6253\u5305\u6210APP\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u82e5\u4f9d\u662f\u4e00\u4e2a\u57fa\u4e8eSpring Boot\u3001Spring Security\u548cVue\u7684\u524d\u540e\u7aef\u5206\u79bb\u6743\u9650\u7ba1\u7406\u7cfb\u7edf\u3002\u5176\u529f\u80fd\u9f50\u5168\uff0c\u754c\u9762\u7b80\u6d01\u7f8e\u89c2\u4e14\u6613\u4e8e\u64cd\u4f5c\uff0c\u662f\u4e00\u4e2a\u975e\u5e38\u53d7\u6b22\u8fce\u7684\u5e94\u7528\u3002\u7136\u800c\uff0c\u5f00\u53d1\u8005\u662f\u5426\u53ef\u4ee5\u5c06\u5176\u6253\u5305\u6210\u5e94\u7528\u5462<\/p>\n","protected":false},"author":18,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[38320,2753,2767,2710,2763],"class_list":["post-59717","post","type-post","status-publish","format-standard","hentry","category-appkaifa","tag-h5","tag-2753","tag-app","tag-2710","tag-2763"],"_links":{"self":[{"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/posts\/59717","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\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/comments?post=59717"}],"version-history":[{"count":1,"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/posts\/59717\/revisions"}],"predecessor-version":[{"id":59791,"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/posts\/59717\/revisions\/59791"}],"wp:attachment":[{"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/media?parent=59717"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/categories?post=59717"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/tags?post=59717"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}