{"id":38131,"date":"2025-05-19T14:14:19","date_gmt":"2025-05-19T06:14:19","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/38131.html"},"modified":"2025-05-19T14:14:19","modified_gmt":"2025-05-19T06:14:19","slug":"harmonyos-%e5%bd%b1%e8%a7%86%e5%ba%94%e7%94%a8app%e5%bc%80%e5%8f%91-%e9%85%8d%e5%a5%97%e7%9a%84%e5%90%8e%e5%8f%b0%e6%9c%8d%e5%8a%a1go-imovie%e9%a1%b9%e7%9b%ae%e4%bb%8b%e7%bb%8d%e5%8f%8a%e4%bd%bf","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/38131.html","title":{"rendered":"HarmonyOS \u5f71\u89c6\u5e94\u7528APP\u5f00\u53d1--\u914d\u5957\u7684\u540e\u53f0\u670d\u52a1go-imovie\u9879\u76ee\u4ecb\u7ecd\u53ca\u4f7f\u7528"},"content":{"rendered":"<p>\u7f51\u4e0a\u6709\u5c0f\u4f19\u4f34\u5bf9\u5f71\u89c6\u5e94\u7528\u611f\u5174\u8da3&#xff0c;\u4e5f\u60f3\u641e\u4e2a\u81ea\u5df1\u7684\u514d\u8d39\u89c2\u5f71APP\u73a9\u73a9\u513f\u3002\u524d\u671f\u535a\u4e3b\u5f00\u6e90\u7684\u6709uniapp\u7248\u672c\u548charmonyOS\u539f\u751f\u7248\u672c\u5f71\u89c6\u5ba2\u6237\u7aef&#xff0c;\u4f46\u662f\u5bf9\u535a\u4e3b\u5f00\u6e90\u7684\u8fd9\u4e2a\u5f71\u89c6\u540e\u53f0\u63a5\u53e3\u670d\u52a1\u4e0d\u592a\u4e86\u89e3&#xff0c;\u4e0d\u77e5\u9053\u600e\u4e48\u7528\u8d77\u6765\u3002\u8fd9\u91cc\u603b\u7ed3\u4ecb\u7ecd\u4e0b\u8be5go-imove\u540e\u53f0\u63a5\u53e3\u670d\u52a1\u9879\u76ee\u4ecb\u7ecd\u53ca\u4f7f\u7528&#xff0c;\u5206\u4eab\u7ed9\u6709\u9700\u8981\u7684\u540c\u5b66&#xff0c;\u65b9\u4fbf\u6253\u9020\u81ea\u5df1\u5b8c\u6574\u7684\u5f71\u89c6APP\u5e94\u7528\u3002\u5176\u4e2duniapp\u7248\u672c\u9002\u7528\u4e8e\u5168\u5e73\u53f0(ios,android,harmonys,\u5c0f\u7a0b\u5e8f\u7b49\u3002)<\/p>\n<p>\u8fd9\u4e2a\u9879\u76ee\u540d\u4e3a imovie \u4e2a\u4eba\u5f71\u89c6\u7c7b\u5f00\u6e90\u5c0f\u7a0b\u5e8f\u5b8c\u6574\u9879\u76ee&#xff0c;\u662f\u4e00\u4e2a\u57fa\u4e8e Go&#xff08;Golang&#xff09;\u548c MongoDB \u5b9e\u73b0\u7684\u5f71\u89c6\u7c7b\u5c0f\u7a0b\u5e8f\u540e\u53f0\u63a5\u53e3\u670d\u52a1\u3002\u524d\u7aef\u90e8\u5206\u662f\u57fa\u4e8e uni-app&#xff08;Vue.js&#xff09;\u5f00\u53d1\u7684\u8de8\u5e73\u53f0\u5c0f\u7a0b\u5e8f&#xff0c;\u652f\u6301 H5\u3001Android\u3001iOS\u3001HarmonyOS \u7b49\u591a\u7aef\u8fd0\u884c\u3002HarmonyOS\u539f\u751f\u8bed\u8a00\u7248\u672c\u57fa\u4e8e\u9e3f\u8499ArkTS\u548cArkUI\u3002\u9879\u76ee\u5b8c\u5168\u5f00\u6e90&#xff0c;\u9002\u5408\u5b66\u4e60\u548c\u53c2\u8003\u3002<\/p>\n<p>\u90d1\u91cd\u58f0\u660e&#xff1a;\u6240\u6709\u5f71\u89c6\u8d44\u6e90\u5747\u6765\u81ea\u4e92\u8054\u7f51&#xff0c;\u4ec5\u9650\u5b66\u4e60\u7814\u7a76\u4f7f\u7528&#xff0c;\u4e25\u7981\u7528\u4e8e\u5176\u7528\u9014\u3002<\/p>\n<h3>\u9879\u76ee\u7b80\u4ecb<\/h3>\n<ul>\n<li>\u540e\u7aef\u6280\u672f&#xff1a;Golang &#043; MongoDB<\/li>\n<li>\u524d\u7aef\u6280\u672f&#xff1a;uni-app&#xff08;Vue.js&#xff09;&#xff0c;\u53ef\u8fd0\u884c\u4e8e\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u3001H5\u3001Android\u3001iOS \u3001HarmonyOS\u7b49<\/li>\n<li>\u529f\u80fd\u4e30\u5bcc&#xff1a;\u6db5\u76d6\u9996\u9875\u3001\u7535\u5f71\u8be6\u60c5\u3001\u641c\u7d22\u3001\u5206\u7c7b\u3001\u8bc4\u4ef7\u3001\u6536\u85cf\u3001\u4e2a\u4eba\u4e2d\u5fc3\u3001\u8bc4\u5206\u3001\u8bc4\u8bba\u3001\u77e5\u4e4e\u65e5\u62a5\u3001\u8868\u5355\u63d0\u4ea4\u7b49<\/li>\n<li>\u5f00\u7bb1\u5373\u7528&#xff1a;\u4e0b\u8f7d\u540e go mod tidy \u5b89\u88c5\u4f9d\u8d56&#xff0c;go run imovie.go \u5373\u53ef\u542f\u52a8\u540e\u7aef\u670d\u52a1<\/li>\n<\/ul>\n<p>uniapp\u89c2\u5f71app\u9879\u76ee\u5730\u5740&#xff1a;https:\/\/gitee.com\/yyz116\/imovie<\/p>\n<p>\u9e3f\u8499\u539f\u751f\u7248\u672c\u89c2\u5f71app\u9879\u76ee\u5730\u5740: https:\/\/gitee.com\/yyz116\/hmmovie<\/p>\n<p>\u540e\u53f0\u670d\u52a1\u5f00\u6e90\u5730\u5740&#xff1a;https:\/\/gitee.com\/yyz116\/go-imovie<\/p>\n<p>https:\/\/github.com\/yangyongzhen\/go-imovie<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250519061418-682acc3a82e25.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>\u4e3b\u8981\u529f\u80fd<\/h3>\n<ul>\n<li>\u8f6e\u64ad\u56fe\u3001\u6a2a\u5411\u6eda\u52a8\u5217\u8868<\/li>\n<li>\u7535\u5f71\u8be6\u60c5\u3001\u641c\u7d22\u3001\u5206\u7c7b\u3001\u8bc4\u4ef7\u3001\u6536\u85cf<\/li>\n<li>\u4e2a\u4eba\u4e2d\u5fc3\u3001\u8bc4\u5206\u3001\u8bc4\u8bba<\/li>\n<li>\u77e5\u4e4e\u65e5\u62a5\u5217\u8868\u4e0e\u8be6\u60c5<\/li>\n<li>\u4e0a\u62c9\u52a0\u8f7d\u3001\u4e0b\u62c9\u5237\u65b0<\/li>\n<li>\u8868\u5355\u63d0\u4ea4\u3001\u6ed1\u52a8\u64cd\u4f5c\u7b49<\/li>\n<li>\u77e5\u4e4e\u65e5\u62a5\u5217\u8868\u63a5\u53e3<\/li>\n<li>\u77e5\u4e4e\u65e5\u62a5\u8be6\u60c5\u63a5\u53e3<\/li>\n<li>\u7f51\u6613\u4e91\u97f3\u4e50\u97f3\u4e50\u641c\u7d22\u63a5\u53e3<\/li>\n<li>\u7f51\u9875\u4e91\u97f3\u4e50\u6b4c\u66f2\u7545\u542c\u63a5\u53e3<\/li>\n<\/ul>\n<h3>\u540e\u53f0\u63a5\u53e3<\/h3>\n<ul>\n<li>\u8f6e\u64ad\u56fe\u63a5\u53e3&#xff1a;\/api\/v1\/banner<\/li>\n<li>\u7535\u5f71\u5217\u8868\u63a5\u53e3&#xff1a;\/api\/v1\/movie\/list<\/li>\n<li>\u7535\u5f71\u8be6\u60c5\u63a5\u53e3&#xff1a;\/api\/v1\/movie\/detail<\/li>\n<li>\u7535\u5f71\u641c\u7d22\u63a5\u53e3&#xff1a;\/api\/v1\/movie\/search<\/li>\n<li>\u7535\u5f71\u5206\u7c7b\u63a5\u53e3&#xff1a;\/api\/v1\/movie\/category<\/li>\n<li>\u7535\u5f71\u8bc4\u4ef7\u3001\u6536\u85cf\u3001\u8bc4\u5206\u3001\u8bc4\u8bba\u7b49\u63a5\u53e3<\/li>\n<li>\u77e5\u4e4e\u65e5\u62a5\u76f8\u5173\u63a5\u53e3<\/li>\n<li>\u3002\u3002\u3002\u3002\u3002\u3002 \u5982\u679c\u6ca1\u6709\u90e8\u7f72&#xff0c;\u53ef\u4ee5\u6682\u65f6\u4f7f\u7528\u535a\u4e3b\u81ea\u5df1\u90e8\u7f72\u597d\u7684\u63a5\u53e3\u3002<\/li>\n<\/ul>\n<p>\u63a5\u53e3\u5730\u5740&#xff1a;http:\/\/120.27.146.247:8000<\/p>\n<h3>\u63a5\u53e3\u4f7f\u7528\u4e3e\u4f8b<\/h3>\n<p>\u4f7f\u7528vscode\u7684rest\u63d2\u4ef6&#xff0c;\u8c03\u8bd5\u63a5\u53e3&#xff1a;<\/p>\n<p><span class=\"token comment\">### \u5373\u5c06\u4e0a\u6620<\/span><br \/>\npost http:\/\/120.27.146.247:8000\/api\/v1\/soonmovie<br \/>\nContent-Type:application\/json<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string\">&#034;start&#034;<\/span><span class=\"token builtin class-name\">:<\/span> <span class=\"token number\">0<\/span>,<br \/>\n    <span class=\"token string\">&#034;count&#034;<\/span><span class=\"token builtin class-name\">:<\/span> <span class=\"token number\">1<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p>\u4f7f\u7528curl\u547d\u4ee4\u884c\u5de5\u5177\u8c03\u8bd5\u63a5\u53e3\u793a\u4f8b&#xff1a;<\/p>\n<p><span class=\"token function\">curl<\/span> -X POST http:\/\/120.27.146.247:8000\/api\/v1\/soonmovie <span class=\"token punctuation\">\\\\<\/span><br \/>\n-H <span class=\"token string\">&#034;Content-Type: application\/json&#034;<\/span> <span class=\"token punctuation\">\\\\<\/span><br \/>\n-d <span class=\"token string\">&#039;{<br \/>\n    &#034;start&#034;: 0,<br \/>\n    &#034;count&#034;: 1<br \/>\n}&#039;<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250519061418-682acc3a9b430.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u6240\u6709\u7684\u63a5\u53e3\u5b9a\u4e49\u5982\u4e0b&#xff1a;<\/p>\n<p>service imovie<span class=\"token operator\">&#8211;<\/span>api <span class=\"token punctuation\">{<\/span><br \/>\n&#064;<span class=\"token function\">doc<\/span> <span class=\"token punctuation\">(<\/span><br \/>\nsummary<span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;imovie api&#034;<\/span><br \/>\n<span class=\"token punctuation\">)<\/span><br \/>\n&#064;handler TestHandler<br \/>\nget <span class=\"token operator\">\/<\/span>test<span class=\"token operator\">\/<\/span><span class=\"token operator\">:<\/span><span class=\"token function\">name<\/span> <span class=\"token punctuation\">(<\/span>Request<span class=\"token punctuation\">)<\/span> <span class=\"token function\">returns<\/span> <span class=\"token punctuation\">(<\/span>Response<span class=\"token punctuation\">)<\/span><\/p>\n<p>&#064;handler SwiperHandler<br \/>\nget <span class=\"token operator\">\/<\/span>api<span class=\"token operator\">\/<\/span>v1<span class=\"token operator\">\/<\/span>swiperdata <span class=\"token function\">returns<\/span> <span class=\"token punctuation\">(<\/span>SwiperResp<span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\">\/\/ 1.\u70ed\u95e8\u5f71\u89c6<\/span><br \/>\n&#064;handler HotMovieHandler<br \/>\npost <span class=\"token operator\">\/<\/span>api<span class=\"token operator\">\/<\/span>v1<span class=\"token operator\">\/<\/span><span class=\"token function\">hotmovie<\/span> <span class=\"token punctuation\">(<\/span>HotMovieReq<span class=\"token punctuation\">)<\/span> <span class=\"token function\">returns<\/span> <span class=\"token punctuation\">(<\/span>HotMovieResp<span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\">\/\/ 2.\u6700\u65b0\u4e0a\u6620<\/span><br \/>\n&#064;handler NewMovieHandler<br \/>\npost <span class=\"token operator\">\/<\/span>api<span class=\"token operator\">\/<\/span>v1<span class=\"token operator\">\/<\/span><span class=\"token function\">newmovie<\/span> <span class=\"token punctuation\">(<\/span>NewMovieReq<span class=\"token punctuation\">)<\/span> <span class=\"token function\">returns<\/span> <span class=\"token punctuation\">(<\/span>NewMovieResp<span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\">\/\/ 3.\u5373\u5c06\u4e0a\u6620<\/span><br \/>\n&#064;handler SoonMovieHandler<br \/>\npost <span class=\"token operator\">\/<\/span>api<span class=\"token operator\">\/<\/span>v1<span class=\"token operator\">\/<\/span><span class=\"token function\">soonmovie<\/span> <span class=\"token punctuation\">(<\/span>SoonMovieReq<span class=\"token punctuation\">)<\/span> <span class=\"token function\">returns<\/span> <span class=\"token punctuation\">(<\/span>SoonMovieResp<span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\">\/\/ 4.\u672c\u5468\u53e3\u7891<\/span><br \/>\n&#064;handler WeekMovieHandler<br \/>\npost <span class=\"token operator\">\/<\/span>api<span class=\"token operator\">\/<\/span>v1<span class=\"token operator\">\/<\/span><span class=\"token function\">weekmovie<\/span> <span class=\"token punctuation\">(<\/span>WeekMovieReq<span class=\"token punctuation\">)<\/span> <span class=\"token function\">returns<\/span> <span class=\"token punctuation\">(<\/span>WeekMovieResp<span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\">\/\/ 5.\u7535\u5f71\u8be6\u60c5<\/span><br \/>\n&#064;handler DetailMovieHandler<br \/>\npost <span class=\"token operator\">\/<\/span>api<span class=\"token operator\">\/<\/span>v1<span class=\"token operator\">\/<\/span><span class=\"token function\">detailmovie<\/span> <span class=\"token punctuation\">(<\/span>DetailMovieReq<span class=\"token punctuation\">)<\/span> <span class=\"token function\">returns<\/span> <span class=\"token punctuation\">(<\/span>DetailMovieResp<span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\">\/\/ 6.\u7535\u5f71\u641c\u7d22<\/span><br \/>\n&#064;handler SearchMovieHandler<br \/>\npost <span class=\"token operator\">\/<\/span>api<span class=\"token operator\">\/<\/span>v1<span class=\"token operator\">\/<\/span><span class=\"token function\">searchmovie<\/span> <span class=\"token punctuation\">(<\/span>SearchMovieReq<span class=\"token punctuation\">)<\/span> <span class=\"token function\">returns<\/span> <span class=\"token punctuation\">(<\/span>SearchMovieResp<span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\">\/\/ 7.\u5317\u7f8e\u7968\u623f\u699c<\/span><br \/>\n&#064;handler UsMovieHandler<br \/>\npost <span class=\"token operator\">\/<\/span>api<span class=\"token operator\">\/<\/span>v1<span class=\"token operator\">\/<\/span><span class=\"token function\">usmovie<\/span> <span class=\"token punctuation\">(<\/span>UsMovieReq<span class=\"token punctuation\">)<\/span> <span class=\"token function\">returns<\/span> <span class=\"token punctuation\">(<\/span>UsMovieResp<span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\">\/\/ 8.\u7535\u5f71\u77ed\u8bc4&#xff08;\u8bc4\u8bba&#xff09;<\/span><br \/>\n&#064;handler CommentMovieHandler<br \/>\npost <span class=\"token operator\">\/<\/span>api<span class=\"token operator\">\/<\/span>v1<span class=\"token operator\">\/<\/span><span class=\"token function\">commentmovie<\/span> <span class=\"token punctuation\">(<\/span>CommentReq<span class=\"token punctuation\">)<\/span> <span class=\"token function\">returns<\/span> <span class=\"token punctuation\">(<\/span>CommentResp<span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\">\/\/ 9.\u7535\u5f71\u5f71\u8bc4 (\u957f\u6587\u7ae0)<\/span><br \/>\n&#064;handler ReviewsMovieHandler<br \/>\npost <span class=\"token operator\">\/<\/span>api<span class=\"token operator\">\/<\/span>v1<span class=\"token operator\">\/<\/span><span class=\"token function\">reviewsmovie<\/span> <span class=\"token punctuation\">(<\/span>ReviewsReq<span class=\"token punctuation\">)<\/span> <span class=\"token function\">returns<\/span> <span class=\"token punctuation\">(<\/span>ReviewsResp<span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\">\/\/ 10.top250\u5f71\u89c6<\/span><br \/>\n&#064;handler TopMovieHandler<br \/>\npost <span class=\"token operator\">\/<\/span>api<span class=\"token operator\">\/<\/span>v1<span class=\"token operator\">\/<\/span><span class=\"token function\">topmovie<\/span> <span class=\"token punctuation\">(<\/span>TopMovieReq<span class=\"token punctuation\">)<\/span> <span class=\"token function\">returns<\/span> <span class=\"token punctuation\">(<\/span>TopMovieResp<span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\">\/\/ 11.\u77e5\u4e4e\u65e5\u62a5 news<\/span><br \/>\n&#064;handler ZhihuNewsHandler<br \/>\nget <span class=\"token operator\">\/<\/span>api<span class=\"token operator\">\/<\/span>v1<span class=\"token operator\">\/<\/span>zhihunews<span class=\"token operator\">\/<\/span><span class=\"token operator\">:<\/span><span class=\"token function\">date<\/span> <span class=\"token punctuation\">(<\/span>ZhihuNewsReq<span class=\"token punctuation\">)<\/span> <span class=\"token function\">returns<\/span> <span class=\"token punctuation\">(<\/span>ZhihuNewsResp<span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\">\/\/ 12.\u77e5\u4e4e\u65e5\u62a5 \u8be6\u60c5<\/span><br \/>\n&#064;handler ZhiDetailHandler<br \/>\nget <span class=\"token operator\">\/<\/span>api<span class=\"token operator\">\/<\/span>v1<span class=\"token operator\">\/<\/span>zhihudetail<span class=\"token operator\">\/<\/span><span class=\"token operator\">:<\/span><span class=\"token function\">id<\/span> <span class=\"token punctuation\">(<\/span>ZhiDetailReq<span class=\"token punctuation\">)<\/span> <span class=\"token function\">returns<\/span> <span class=\"token punctuation\">(<\/span>ZhiDetailResp<span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\">\/\/ 13.\u5f71\u89c6\u5267\u7167<\/span><br \/>\n&#064;handler PhotoMovieHandler<br \/>\npost <span class=\"token operator\">\/<\/span>api<span class=\"token operator\">\/<\/span>v1<span class=\"token operator\">\/<\/span><span class=\"token function\">photomovie<\/span> <span class=\"token punctuation\">(<\/span>PhotoMovieReq<span class=\"token punctuation\">)<\/span> <span class=\"token function\">returns<\/span> <span class=\"token punctuation\">(<\/span>PhotoMovieResp<span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\">\/\/ 14.\u7535\u5f71\u7968\u623f<\/span><br \/>\n&#064;handler PiaoMovieHandler<br \/>\nget <span class=\"token operator\">\/<\/span>api<span class=\"token operator\">\/<\/span>v1<span class=\"token operator\">\/<\/span>piaomovie <span class=\"token function\">returns<\/span> <span class=\"token punctuation\">(<\/span>PiaoMovieResp<span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\">\/\/ 15.\u5f71\u89c6\u8d44\u6e90\u63d0\u4ea4<\/span><br \/>\n&#064;handler SourceMovieHandler<br \/>\npost <span class=\"token operator\">\/<\/span>api<span class=\"token operator\">\/<\/span>v1<span class=\"token operator\">\/<\/span><span class=\"token function\">sourcemovie<\/span> <span class=\"token punctuation\">(<\/span>SourceMovieReq<span class=\"token punctuation\">)<\/span> <span class=\"token function\">returns<\/span> <span class=\"token punctuation\">(<\/span>SourceMovieResp<span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\">\/\/ 16.\u5f71\u89c6\u64ad\u653e\u8d44\u6e90\u83b7\u53d6<\/span><br \/>\n&#064;handler MvSourceHandler<br \/>\nget <span class=\"token operator\">\/<\/span>api<span class=\"token operator\">\/<\/span>v1<span class=\"token operator\">\/<\/span>mvsource<span class=\"token operator\">\/<\/span><span class=\"token operator\">:<\/span><span class=\"token function\">sid<\/span> <span class=\"token punctuation\">(<\/span>MvSourceReq<span class=\"token punctuation\">)<\/span> <span class=\"token function\">returns<\/span> <span class=\"token punctuation\">(<\/span>MvSourceResp<span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\">\/\/ 17.\u7559\u8a00\u53cd\u9988\u63d0\u4ea4<\/span><br \/>\n&#064;handler FeedBackHandler<br \/>\npost <span class=\"token operator\">\/<\/span>api<span class=\"token operator\">\/<\/span>v1<span class=\"token operator\">\/<\/span><span class=\"token function\">feedback<\/span> <span class=\"token punctuation\">(<\/span>FeedBackReq<span class=\"token punctuation\">)<\/span> <span class=\"token function\">returns<\/span> <span class=\"token punctuation\">(<\/span>FeedBackResp<span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\">\/\/ 18.\u68c0\u67e5\u66f4\u65b0<\/span><br \/>\n&#064;handler UpdateCheckHandler<br \/>\nget <span class=\"token operator\">\/<\/span>api<span class=\"token operator\">\/<\/span>v1<span class=\"token operator\">\/<\/span><span class=\"token function\">updatecheck<\/span> <span class=\"token punctuation\">(<\/span>UpdateReq<span class=\"token punctuation\">)<\/span> <span class=\"token function\">returns<\/span> <span class=\"token punctuation\">(<\/span>UpdateResp<span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\">\/\/ 19.\u8fd1\u671f\u70ed\u95e8\u5267\u96c6<\/span><br \/>\n&#064;handler HotTvHandler<br \/>\npost <span class=\"token operator\">\/<\/span>api<span class=\"token operator\">\/<\/span>v1<span class=\"token operator\">\/<\/span><span class=\"token function\">tvhot<\/span> <span class=\"token punctuation\">(<\/span>HotTvReq<span class=\"token punctuation\">)<\/span> <span class=\"token function\">returns<\/span> <span class=\"token punctuation\">(<\/span>HotTvResp<span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\">\/\/ 20.\u7535\u89c6\u76f4\u64ad\u8d44\u6e90<\/span><br \/>\n&#064;handler TvLivesHandler<br \/>\npost <span class=\"token operator\">\/<\/span>api<span class=\"token operator\">\/<\/span>v1<span class=\"token operator\">\/<\/span><span class=\"token function\">tvlives<\/span> <span class=\"token punctuation\">(<\/span>TvLivesReq<span class=\"token punctuation\">)<\/span> <span class=\"token function\">returns<\/span> <span class=\"token punctuation\">(<\/span>TvLivesResp<span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\">\/\/ 21.\u6839\u636e\u540d\u5b57\u751f\u6210\u7535\u5f71\u5408\u96c6<\/span><br \/>\n&#064;handler CreateMvMenuHandler<br \/>\npost <span class=\"token operator\">\/<\/span>api<span class=\"token operator\">\/<\/span>v1<span class=\"token operator\">\/<\/span><span class=\"token function\">createmvmenu<\/span> <span class=\"token punctuation\">(<\/span>CreateMvMenuReq<span class=\"token punctuation\">)<\/span> <span class=\"token function\">returns<\/span> <span class=\"token punctuation\">(<\/span>CreateMvMenuResp<span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\">\/\/ 22.\u83b7\u53d6\u7535\u5f71\u5408\u96c6<\/span><br \/>\n&#064;handler GetMvMenusHandler<br \/>\nget <span class=\"token operator\">\/<\/span>api<span class=\"token operator\">\/<\/span>v1<span class=\"token operator\">\/<\/span><span class=\"token function\">getmvmenus<\/span> <span class=\"token punctuation\">(<\/span>GetMvMenusReq<span class=\"token punctuation\">)<\/span> <span class=\"token function\">returns<\/span> <span class=\"token punctuation\">(<\/span>GetMvMenusResp<span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\">\/\/ 23.\u97f3\u4e50\u8d44\u6e90\u83b7\u53d6<\/span><br \/>\n&#064;handler MusicsHandler<br \/>\npost <span class=\"token operator\">\/<\/span>api<span class=\"token operator\">\/<\/span>v1<span class=\"token operator\">\/<\/span><span class=\"token function\">musicmenus<\/span> <span class=\"token punctuation\">(<\/span>MusicsReq<span class=\"token punctuation\">)<\/span> <span class=\"token function\">returns<\/span> <span class=\"token punctuation\">(<\/span>MusicsResp<span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\">\/\/ 24.\u97f3\u4e50\u641c\u7d22<\/span><br \/>\n&#064;handler MusicSearchHandler<br \/>\npost <span class=\"token operator\">\/<\/span>api<span class=\"token operator\">\/<\/span>v1<span class=\"token operator\">\/<\/span><span class=\"token function\">musicsearch<\/span> <span class=\"token punctuation\">(<\/span>MusicSearchReq<span class=\"token punctuation\">)<\/span> <span class=\"token function\">returns<\/span> <span class=\"token punctuation\">(<\/span>MusicSearchResp<span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\">\/\/ 25.\u97f3\u4e50\u6b4c\u8bcd\u641c\u7d22<\/span><br \/>\n&#064;handler MusicLrcSearchHandler<br \/>\nget <span class=\"token operator\">\/<\/span>api<span class=\"token operator\">\/<\/span>v1<span class=\"token operator\">\/<\/span><span class=\"token function\">musicsearchlrc<\/span> <span class=\"token punctuation\">(<\/span>LrcSearchReq<span class=\"token punctuation\">)<\/span> <span class=\"token function\">returns<\/span> <span class=\"token punctuation\">(<\/span>LrcSearchResp<span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\">\/\/ 26.\u521b\u5efa\u97f3\u4e50\u6b4c\u5355<\/span><br \/>\n&#064;handler CreateSongMenuHandler<br \/>\npost <span class=\"token operator\">\/<\/span>api<span class=\"token operator\">\/<\/span>v1<span class=\"token operator\">\/<\/span><span class=\"token function\">createsongmenu<\/span> <span class=\"token punctuation\">(<\/span>CreateSongMenuReq<span class=\"token punctuation\">)<\/span> <span class=\"token function\">returns<\/span> <span class=\"token punctuation\">(<\/span>CreateSongMenuResp<span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\">\/\/ 27.\u83b7\u53d6\u97f3\u4e50\u6b4c\u5355<\/span><br \/>\n&#064;handler GetSongMenuHandler<br \/>\nget <span class=\"token operator\">\/<\/span>api<span class=\"token operator\">\/<\/span>v1<span class=\"token operator\">\/<\/span><span class=\"token function\">getsongmenu<\/span> <span class=\"token punctuation\">(<\/span>GetSongMenuReq<span class=\"token punctuation\">)<\/span> <span class=\"token function\">returns<\/span> <span class=\"token punctuation\">(<\/span>GetSongMenuResp<span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<h3>\u63a5\u53e3\u4f7f\u7528<\/h3>\n<p><span class=\"token comment\">### \u6b63\u5728\u70ed\u6620\u7535\u5f71<\/span><br \/>\npost http:\/\/120.27.146.247:8000\/api\/v1\/hotmovie<br \/>\nContent-Type:application\/json<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string\">&#034;start&#034;<\/span><span class=\"token builtin class-name\">:<\/span> <span class=\"token number\">0<\/span>,<br \/>\n    <span class=\"token string\">&#034;count&#034;<\/span><span class=\"token builtin class-name\">:<\/span> <span class=\"token number\">1<\/span>,<br \/>\n    <span class=\"token string\">&#034;city&#034;<\/span><span class=\"token builtin class-name\">:<\/span> <span class=\"token string\">&#034;\u90d1\u5dde&#034;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p><span class=\"token comment\">### \u9996\u9875\u7535\u5f71\u6d77\u62a5\u8f6e\u64ad\u56fe<\/span><br \/>\n<span class=\"token comment\">### Swiper request \/api\/v1\/swiperdata<\/span><br \/>\nget http:\/\/120.27.146.247:8000\/api\/v1\/swiperdata<\/p>\n<p><span class=\"token comment\">### \u5373\u5c06\u4e0a\u6620\u7535\u5f71<\/span><br \/>\npost http:\/\/120.27.146.247:8000\/api\/v1\/soonmovie<br \/>\nContent-Type:application\/json<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string\">&#034;start&#034;<\/span><span class=\"token builtin class-name\">:<\/span> <span class=\"token number\">0<\/span>,<br \/>\n    <span class=\"token string\">&#034;count&#034;<\/span><span class=\"token builtin class-name\">:<\/span> <span class=\"token number\">1<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p><span class=\"token comment\">### \u6700\u65b0\u4e0a\u6620<\/span><br \/>\npost http:\/\/120.27.146.247:8000\/api\/v1\/newmovie<br \/>\nContent-Type:application\/json<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string\">&#034;start&#034;<\/span><span class=\"token builtin class-name\">:<\/span> <span class=\"token number\">0<\/span>,<br \/>\n    <span class=\"token string\">&#034;count&#034;<\/span><span class=\"token builtin class-name\">:<\/span> <span class=\"token number\">1<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p><span class=\"token comment\">### \u5468\u699c \u7535\u5f71<\/span><br \/>\npost http:\/\/120.27.146.247:8000\/api\/v1\/weekmovie<br \/>\nContent-Type:application\/json<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string\">&#034;start&#034;<\/span><span class=\"token builtin class-name\">:<\/span> <span class=\"token number\">0<\/span>,<br \/>\n    <span class=\"token string\">&#034;count&#034;<\/span><span class=\"token builtin class-name\">:<\/span> <span class=\"token number\">1<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p><span class=\"token comment\">### \u5317\u7f8e\u7968\u623f\u699c<\/span><br \/>\npost http:\/\/120.27.146.247:8000\/api\/v1\/usmovie<br \/>\nContent-Type:application\/json<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string\">&#034;start&#034;<\/span><span class=\"token builtin class-name\">:<\/span> <span class=\"token number\">0<\/span>,<br \/>\n    <span class=\"token string\">&#034;count&#034;<\/span><span class=\"token builtin class-name\">:<\/span> <span class=\"token number\">1<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p><span class=\"token comment\">### \u8fd1\u671f\u70ed\u95e8\u5267\u96c6<\/span><br \/>\npost http:\/\/120.27.146.247:8000\/api\/v1\/tvhot<br \/>\nContent-Type:application\/json<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string\">&#034;start&#034;<\/span><span class=\"token builtin class-name\">:<\/span> <span class=\"token number\">0<\/span>,<br \/>\n    <span class=\"token string\">&#034;count&#034;<\/span><span class=\"token builtin class-name\">:<\/span> <span class=\"token number\">10<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p><span class=\"token comment\">### \u7535\u89c6\u76f4\u64ad<\/span><br \/>\npost http:\/\/120.27.146.247:8000\/api\/v1\/tvlives<br \/>\nContent-Type:application\/json<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string\">&#034;start&#034;<\/span><span class=\"token builtin class-name\">:<\/span> <span class=\"token number\">0<\/span>,<br \/>\n    <span class=\"token string\">&#034;count&#034;<\/span><span class=\"token builtin class-name\">:<\/span> <span class=\"token number\">10<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p><span class=\"token comment\">### \u7535\u5f71\u8be6\u60c5<\/span><br \/>\npost http:\/\/120.27.146.247:8000\/api\/v1\/detailmovie<br \/>\nContent-Type:application\/json<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string\">&#034;id&#034;<\/span><span class=\"token builtin class-name\">:<\/span> <span class=\"token string\">&#034;1292052&#034;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token comment\">### \u7535\u5f71\u77ed\u8bc4<\/span><br \/>\npost http:\/\/120.27.146.247:8000\/api\/v1\/commentmovie<br \/>\nContent-Type:application\/json<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string\">&#034;id&#034;<\/span><span class=\"token builtin class-name\">:<\/span> <span class=\"token string\">&#034;1292052&#034;<\/span>,<br \/>\n    <span class=\"token string\">&#034;start&#034;<\/span><span class=\"token builtin class-name\">:<\/span> <span class=\"token number\">0<\/span>,<br \/>\n    <span class=\"token string\">&#034;count&#034;<\/span><span class=\"token builtin class-name\">:<\/span> <span class=\"token number\">2<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token comment\">### \u7535\u5f71\u5267\u7167<\/span><br \/>\npost http:\/\/120.27.146.247:8000\/api\/v1\/photomovie<br \/>\nContent-Type:application\/json<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string\">&#034;id&#034;<\/span><span class=\"token builtin class-name\">:<\/span> <span class=\"token string\">&#034;1292052&#034;<\/span>,<br \/>\n    <span class=\"token string\">&#034;start&#034;<\/span><span class=\"token builtin class-name\">:<\/span> <span class=\"token number\">0<\/span>,<br \/>\n    <span class=\"token string\">&#034;count&#034;<\/span><span class=\"token builtin class-name\">:<\/span> <span class=\"token number\">2<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token comment\">### top250 movie request \/api\/v1\/topmovie<\/span><br \/>\npost http:\/\/120.27.146.247:8000\/api\/v1\/topmovie<br \/>\nContent-Type:application\/json<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string\">&#034;start&#034;<\/span><span class=\"token builtin class-name\">:<\/span> <span class=\"token number\">0<\/span>,<br \/>\n    <span class=\"token string\">&#034;count&#034;<\/span><span class=\"token builtin class-name\">:<\/span> <span class=\"token number\">2<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p><span class=\"token comment\">### \u7535\u5f71\u7968\u623f\u4fe1\u606f<\/span><br \/>\nget http:\/\/120.27.146.247:8000\/api\/v1\/piaomovie<\/p>\n<p><span class=\"token comment\">### \u77e5\u4e4e\u65e5\u62a5<\/span><br \/>\nget http:\/\/120.27.146.247:8000\/api\/v1\/zhihunews\/20240720<\/p>\n<p><span class=\"token comment\">### \u77e5\u4e4e\u65e5\u62a5 \u8be6\u60c5<\/span><br \/>\nget http:\/\/120.27.146.247:8000\/api\/v1\/zhihudetail\/9773231<\/p>\n<h3>\u9879\u76ee\u7ed3\u6784<\/h3>\n<p>\u251c\u2500api           \/\/ \u540e\u53f0\u63a5\u53e3<br \/>\n\u251c\u2500common        \/\/ \u516c\u5171\u7ec4\u4ef6<br \/>\n\u251c\u2500components    \/\/ \u4e1a\u52a1\u7ec4\u4ef6<br \/>\n\u251c\u2500doc           \/\/ \u9879\u76ee\u6587\u6863<br \/>\n\u251c\u2500mock          \/\/ mock\u6570\u636e<br \/>\n\u251c\u2500pages         \/\/ \u9875\u9762&#xff08;\u9996\u9875\u3001\u8be6\u60c5\u3001\u641c\u7d22\u3001\u5206\u7c7b\u3001\u4e2a\u4eba\u4e2d\u5fc3\u7b49&#xff09;<br \/>\n\u251c\u2500static        \/\/ \u9759\u6001\u8d44\u6e90<br \/>\n\u251c\u2500uni_modules   \/\/ uni-app\u63d2\u4ef6<br \/>\n\u2514\u2500utils         \/\/ \u5de5\u5177\u7c7b<\/p>\n<h3>\u7279\u8272\u4eae\u70b9<\/h3>\n<ul>\n<li>\u63a5\u53e3\u4e30\u5bcc&#xff1a;\u652f\u6301\u7535\u5f71\u3001\u56fe\u4e66\u3001\u97f3\u4e50\u3001\u77e5\u4e4e\u65e5\u62a5\u7b49\u591a\u79cd\u6570\u636e\u6e90<\/li>\n<li>\u8de8\u5e73\u53f0&#xff1a;\u524d\u7aef\u57fa\u4e8e uni-app&#xff0c;\u652f\u6301\u591a\u7aef\u90e8\u7f72<\/li>\n<li>\u5b66\u4e60\u53cb\u597d&#xff1a;\u4ee3\u7801\u7ed3\u6784\u6e05\u6670&#xff0c;\u9002\u5408\u524d\u540e\u7aef\u5f00\u53d1\u8005\u5b66\u4e60\u53c2\u8003<\/li>\n<li>\u5f00\u6e90\u5171\u4eab&#xff1a;\u4f5c\u8005\u63d0\u4f9b\u4e86\u8be6\u7ec6\u7684\u6587\u6863\u548c\u63a5\u53e3\u8bf4\u660e&#xff0c;\u65b9\u4fbf\u4e8c\u6b21\u5f00\u53d1<\/li>\n<\/ul>\n<h3>\u8fd0\u884c\u65b9\u5f0f<\/h3>\n<li>\u5b89\u88c5 Go \u548c MongoDB \u73af\u5883&#xff08;MongoDB\u5b89\u88c5&#xff09;<\/li>\n<li>\u4e0b\u8f7d\u9879\u76ee&#xff0c;\u6267\u884c go mod tidy \u5b89\u88c5\u4f9d\u8d56<\/li>\n<li>\u8fd0\u884c go run imovie.go \u542f\u52a8\u540e\u7aef\u670d\u52a1<\/li>\n<li>\u524d\u7aef\u53ef\u5728 HBuilder X \u8fd0\u884c\u6216\u6253\u5305<\/li>\n<p>MongoDB\u5b89\u88c5&#xff1a;\u53ef\u4ee5\u4f7f\u7528\u5b9d\u5854\u76f4\u63a5\u5b89\u88c5\u3002<\/p>\n<p>\u6216\u8005\u53c2\u8003&#xff1a;\u300alinux\u4e0b\u7684MongoDB\u624b\u52a8\u5b89\u88c5\u90e8\u7f72\u8be6\u89e3\u300bhttps:\/\/blog.csdn.net\/yyz_1987\/article\/details\/144989629?spm&#061;1001.2014.3001.5502<\/p>\n<h3>\u76f8\u5173\u8d44\u6e90<\/h3>\n<ul>\n<li>\u9879\u76ee\u4ecb\u7ecd\u535a\u6587<\/li>\n<li>H5\u9884\u89c8\u5730\u5740<\/li>\n<li>\u5b89\u5353APP\u4e0b\u8f7d<\/li>\n<li>GitHub Demo<\/li>\n<\/ul>\n<p>\u5982\u679c\u4f60\u60f3\u5f00\u53d1\u81ea\u5df1\u7684\u5f71\u89c6\u7c7b\u5c0f\u7a0b\u5e8f\u6216\u5b66\u4e60 Go&#043;MongoDB&#043;uni-app \u7684\u5168\u6808\u5f00\u53d1&#xff0c;\u8fd9\u4e2a\u9879\u76ee\u662f\u975e\u5e38\u597d\u7684\u53c2\u8003\u3002<\/p>\n<p>\u5173\u4e8e\u4f5c\u8005&#xff1a;csdn\u732b\u54e5 \u8f6c\u8f7d\u8bf7\u6ce8\u660e\u51fa\u5904&#xff1a; blog.csdn.net\/qq8864\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.2k\u6b21\uff0c\u70b9\u8d5e29\u6b21\uff0c\u6536\u85cf15\u6b21\u3002imovie \u4e2a\u4eba\u5f71\u89c6\u7c7b\u5f00\u6e90\u5c0f\u7a0b\u5e8f\u5b8c\u6574\u9879\u76ee \u662f\u4e00\u4e2a\u57fa\u4e8e Go \u548c MongoDB \u5b9e\u73b0\u7684\u540e\u53f0\u63a5\u53e3\u670d\u52a1\uff0c\u652f\u6301\u524d\u7aef\u4f7f\u7528 uni-app\uff08Vue.js\uff09\u5f00\u53d1\u7684\u8de8\u5e73\u53f0\u5c0f\u7a0b\u5e8f\uff0c\u517c\u5bb9 H5\u3001Android\u3001iOS \u548c HarmonyOS \u7b49\u591a\u7aef\u8fd0\u884c\u3002\u9879\u76ee\u529f\u80fd\u4e30\u5bcc\uff0c\u6db5\u76d6\u7535\u5f71\u8be6\u60c5\u3001\u641c\u7d22\u3001\u5206\u7c7b\u3001\u8bc4\u4ef7\u3001\u6536\u85cf\u3001\u4e2a\u4eba\u4e2d\u5fc3\u3001\u8bc4\u5206\u3001\u8bc4\u8bba\u7b49\u6a21\u5757\uff0c\u5e76\u96c6\u6210\u4e86\u77e5\u4e4e\u65e5\u62a5\u3001\u7f51\u6613\u4e91\u97f3\u4e50\u7b49\u7b2c\u4e09\u65b9\u63a5\u53e3\u3002\u540e\u7aef\u670d\u52a1\u5f00\u7bb1\u5373\u7528\uff0c\u901a\u8fc7 go mod tidy \u5b89\u88c5\u4f9d\u8d56\u540e\uff0c\u8fd0\u884c go run imovie.go \u5373\u53ef\u542f\u52a8\u3002\u9879\u76ee\u5b8c\u5168\u5f00\u6e90\uff0c\u9002\u5408\u5b66\u4e60\u548c\u53c2\u8003\u3002\u524d\u7aef\u9879\u76ee\u5730\u5740<\/p>\n","protected":false},"author":2,"featured_media":38129,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[746,280,3308,67,3309],"topic":[],"class_list":["post-38131","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-golang","tag-harmonyos","tag-harmonyos-next","tag-67","tag-app"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>HarmonyOS \u5f71\u89c6\u5e94\u7528APP\u5f00\u53d1-\u914d\u5957\u7684\u540e\u53f0\u670d\u52a1go-imovie\u9879\u76ee\u4ecb\u7ecd\u53ca\u4f7f\u7528 - \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\/38131.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"HarmonyOS \u5f71\u89c6\u5e94\u7528APP\u5f00\u53d1-\u914d\u5957\u7684\u540e\u53f0\u670d\u52a1go-imovie\u9879\u76ee\u4ecb\u7ecd\u53ca\u4f7f\u7528 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.2k\u6b21\uff0c\u70b9\u8d5e29\u6b21\uff0c\u6536\u85cf15\u6b21\u3002imovie \u4e2a\u4eba\u5f71\u89c6\u7c7b\u5f00\u6e90\u5c0f\u7a0b\u5e8f\u5b8c\u6574\u9879\u76ee \u662f\u4e00\u4e2a\u57fa\u4e8e Go \u548c MongoDB \u5b9e\u73b0\u7684\u540e\u53f0\u63a5\u53e3\u670d\u52a1\uff0c\u652f\u6301\u524d\u7aef\u4f7f\u7528 uni-app\uff08Vue.js\uff09\u5f00\u53d1\u7684\u8de8\u5e73\u53f0\u5c0f\u7a0b\u5e8f\uff0c\u517c\u5bb9 H5\u3001Android\u3001iOS \u548c HarmonyOS \u7b49\u591a\u7aef\u8fd0\u884c\u3002\u9879\u76ee\u529f\u80fd\u4e30\u5bcc\uff0c\u6db5\u76d6\u7535\u5f71\u8be6\u60c5\u3001\u641c\u7d22\u3001\u5206\u7c7b\u3001\u8bc4\u4ef7\u3001\u6536\u85cf\u3001\u4e2a\u4eba\u4e2d\u5fc3\u3001\u8bc4\u5206\u3001\u8bc4\u8bba\u7b49\u6a21\u5757\uff0c\u5e76\u96c6\u6210\u4e86\u77e5\u4e4e\u65e5\u62a5\u3001\u7f51\u6613\u4e91\u97f3\u4e50\u7b49\u7b2c\u4e09\u65b9\u63a5\u53e3\u3002\u540e\u7aef\u670d\u52a1\u5f00\u7bb1\u5373\u7528\uff0c\u901a\u8fc7 go mod tidy \u5b89\u88c5\u4f9d\u8d56\u540e\uff0c\u8fd0\u884c go run imovie.go \u5373\u53ef\u542f\u52a8\u3002\u9879\u76ee\u5b8c\u5168\u5f00\u6e90\uff0c\u9002\u5408\u5b66\u4e60\u548c\u53c2\u8003\u3002\u524d\u7aef\u9879\u76ee\u5730\u5740\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/38131.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-19T06:14:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250519061418-682acc3a82e25.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=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/38131.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/38131.html\",\"name\":\"HarmonyOS \u5f71\u89c6\u5e94\u7528APP\u5f00\u53d1-\u914d\u5957\u7684\u540e\u53f0\u670d\u52a1go-imovie\u9879\u76ee\u4ecb\u7ecd\u53ca\u4f7f\u7528 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-05-19T06:14:19+00:00\",\"dateModified\":\"2025-05-19T06:14:19+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/38131.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/38131.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/38131.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"HarmonyOS \u5f71\u89c6\u5e94\u7528APP\u5f00\u53d1--\u914d\u5957\u7684\u540e\u53f0\u670d\u52a1go-imovie\u9879\u76ee\u4ecb\u7ecd\u53ca\u4f7f\u7528\"}]},{\"@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":"HarmonyOS \u5f71\u89c6\u5e94\u7528APP\u5f00\u53d1-\u914d\u5957\u7684\u540e\u53f0\u670d\u52a1go-imovie\u9879\u76ee\u4ecb\u7ecd\u53ca\u4f7f\u7528 - \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\/38131.html","og_locale":"zh_CN","og_type":"article","og_title":"HarmonyOS \u5f71\u89c6\u5e94\u7528APP\u5f00\u53d1-\u914d\u5957\u7684\u540e\u53f0\u670d\u52a1go-imovie\u9879\u76ee\u4ecb\u7ecd\u53ca\u4f7f\u7528 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.2k\u6b21\uff0c\u70b9\u8d5e29\u6b21\uff0c\u6536\u85cf15\u6b21\u3002imovie \u4e2a\u4eba\u5f71\u89c6\u7c7b\u5f00\u6e90\u5c0f\u7a0b\u5e8f\u5b8c\u6574\u9879\u76ee \u662f\u4e00\u4e2a\u57fa\u4e8e Go \u548c MongoDB \u5b9e\u73b0\u7684\u540e\u53f0\u63a5\u53e3\u670d\u52a1\uff0c\u652f\u6301\u524d\u7aef\u4f7f\u7528 uni-app\uff08Vue.js\uff09\u5f00\u53d1\u7684\u8de8\u5e73\u53f0\u5c0f\u7a0b\u5e8f\uff0c\u517c\u5bb9 H5\u3001Android\u3001iOS \u548c HarmonyOS \u7b49\u591a\u7aef\u8fd0\u884c\u3002\u9879\u76ee\u529f\u80fd\u4e30\u5bcc\uff0c\u6db5\u76d6\u7535\u5f71\u8be6\u60c5\u3001\u641c\u7d22\u3001\u5206\u7c7b\u3001\u8bc4\u4ef7\u3001\u6536\u85cf\u3001\u4e2a\u4eba\u4e2d\u5fc3\u3001\u8bc4\u5206\u3001\u8bc4\u8bba\u7b49\u6a21\u5757\uff0c\u5e76\u96c6\u6210\u4e86\u77e5\u4e4e\u65e5\u62a5\u3001\u7f51\u6613\u4e91\u97f3\u4e50\u7b49\u7b2c\u4e09\u65b9\u63a5\u53e3\u3002\u540e\u7aef\u670d\u52a1\u5f00\u7bb1\u5373\u7528\uff0c\u901a\u8fc7 go mod tidy \u5b89\u88c5\u4f9d\u8d56\u540e\uff0c\u8fd0\u884c go run imovie.go \u5373\u53ef\u542f\u52a8\u3002\u9879\u76ee\u5b8c\u5168\u5f00\u6e90\uff0c\u9002\u5408\u5b66\u4e60\u548c\u53c2\u8003\u3002\u524d\u7aef\u9879\u76ee\u5730\u5740","og_url":"https:\/\/www.wsisp.com\/helps\/38131.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-05-19T06:14:19+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250519061418-682acc3a82e25.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/38131.html","url":"https:\/\/www.wsisp.com\/helps\/38131.html","name":"HarmonyOS \u5f71\u89c6\u5e94\u7528APP\u5f00\u53d1-\u914d\u5957\u7684\u540e\u53f0\u670d\u52a1go-imovie\u9879\u76ee\u4ecb\u7ecd\u53ca\u4f7f\u7528 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-05-19T06:14:19+00:00","dateModified":"2025-05-19T06:14:19+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/38131.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/38131.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/38131.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"HarmonyOS \u5f71\u89c6\u5e94\u7528APP\u5f00\u53d1--\u914d\u5957\u7684\u540e\u53f0\u670d\u52a1go-imovie\u9879\u76ee\u4ecb\u7ecd\u53ca\u4f7f\u7528"}]},{"@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\/38131","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=38131"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/38131\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/38129"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=38131"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=38131"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=38131"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=38131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}