{"id":1011,"date":"2009-12-04T20:47:00","date_gmt":"2009-12-04T12:47:00","guid":{"rendered":"\/?p=1011"},"modified":"2009-12-04T20:47:00","modified_gmt":"2009-12-04T20:47:00","slug":"1011","status":"publish","type":"post","link":"https:\/\/blog.vimge.com\/archives\/other\/1011.html","title":{"rendered":"UCHome\u4e8c\u6b21\u5f00\u53d1\u89c4\u8303"},"content":{"rendered":"<\/p>\n

<\/p>\n


<\/span><\/p>\n

<\/span><\/strong><\/span><\/p>\n

\u6ce8\u610f\uff1a<\/strong>\u6b64\u6587\u548cUCHome\u7684Manyou\u5f00\u53d1\u6a21\u5f0f\u4e0d\u540c\uff0cManyou\u662f\u5229\u7528Discuz\u7684\u5f00\u653e\u5e73\u53f0MYOP\u5f00\u53d1\u516c\u5171\u63d2\u4ef6\uff0c\u53ef\u4f9b\u6240\u6709\u57fa\u4e8eUCHome\u7684\u7f51\u7ad9\u4f7f\u7528\uff1b\u800c\u6b64\u6587\u6d89\u53ca\u7684\u5f00\u53d1\u6a21\u5f0f\u4e0eManyou\u4e0d\u540c\uff0c\u662f\u5728\u672c\u5730\u5f00\u53d1\uff0c\u4ee5\u63d2\u4ef6\u7684\u5f62\u5f0f\u6269\u5c55UCHome\u539f\u6709\u529f\u80fd\u3002<\/span><\/p>\n

        UCHome\u662fDiscuz\u7684\u4e00\u6b3e SNS\u7a0b\u5e8f\uff0c\u80fd\u8ba9\u6bcf\u4e2a\u7f51\u7ad9\u90fd\u7528\u62e5\u6709\u81ea\u5df1\u7684Facebook\/\u6821\u5185\u3002Discuz\u4e5f\u63d0\u4f9b\u4e86MYOP\u5f00\u53d1\u8005\u5e73\u53f0\uff0c\u6240\u6709\u5f00\u53d1\u8005\u90fd\u53ef\u4ee5\u5728\u6b64\u5e73\u53f0\u4e0a\u5f00\u53d1\u81ea\u5df1\u7684\u5e94\u7528\u7a0b \u5e8f\u4f9b\u5176\u4ed6UCHome\u7f51\u7ad9\u4f7f\u7528\uff0c\u4e0d\u4f46\u53ef\u4ee5\u4e3a\u81ea\u5df1\u7684\u7f51\u7ad9\u589e\u52a0\u529f\u80fd\uff0c\u540c\u65f6\u4e5f\u80fd\u5c06\u81ea\u5df1\u7f51\u7ad9\u7684\u529f\u80fd\u63a8\u5e7f\u5230\u6570\u4ee5\u4e07\u8ba1\u7684UCHome\u7f51\u7ad9\u4e2d\uff0c\u53ef\u8c13\u4e00\u4e3e\u4e24\u5f97\u3002<\/p>\n

      \u6709\u65f6\u5019\uff0c\u5f00\u53d1\u8005\u5e76\u4e0d\u4e00\u5b9a\u5e0c\u671b\u4f7f\u7528MYOP\u5f00\u53d1\u5e94\u7528\uff0c\u4e00\u662f\u7531\u4e8e\u4ea7\u54c1\u7684\u9700\u8981\uff0c\u5e76\u4e0d\u5e0c\u671b\u5f00\u53d1\u51fa\u6765\u7684\u5e94\u7528\u88ab\u5176\u4ed6\u7f51\u7ad9\u4f7f\u7528\uff1b\u4e8c\u8005MYOP\u7684\u5f00\u53d1\uff0c\u5fc5\u987b\u5904\u7406\u8054\u7f51\u6a21\u5f0f\uff0c\u4e0d\u80fd\u672c\u5730\u5f00\u53d1\uff0c\u8f83\u4e3a\u7e41\u7410\u3002\u56e0\u6b64\uff0c\u5f88\u591a\u6709\u80fd\u529b\u7684\u7ad9\u957f\u4f1a\u5728UCHome\u7684\u57fa\u7840\u4e4b\u4e0a\uff0c\u4ee5\u4fee\u6539UCHome\u4ee3\u7801\u7684\u65b9\u5f0f\u589e\u52a0\u529f\u80fd\u3002<\/p>\n

      \u4f46UCHome\u53d1\u5c55\u901f\u5ea6\u5f88\u5feb\uff0c\u7ecf\u5e38\u4f1a\u6709\u7248\u672c\u66f4\u65b0\uff0c\u5f80\u5f80\u8fd9\u4e2a\u65f6\u5019\uff0c\u4fee\u6539\u4e86UCHome\u6e90\u7801\u7684\u7ad9\u957f\u5c31\u4f1a\u9762\u4e34\u4e00\u4e2a\u4e24\u96be\u7684\u95ee\u9898\uff1a\u662f\u5347\u7ea7\u7a0b\u5e8f\uff1f\u8fd8\u662f\u4e3a\u4e86\u4fdd\u7559\u4ee5 \u5f80\u7684\u4fee\u6539\uff0c\u800c\u4e0d\u5347\u7ea7\uff1f\u5728\u6211\u770b\u6765\uff0c\u5982\u679c\u524d\u671f\u505a\u597d\u5f00\u53d1\u89c4\u8303\uff0c\u662f\u5b8c\u5168\u53ef\u4ee5\u907f\u514d\u8fd9\u4e2a\u95ee\u9898\u7684\u3002\u4e0b\u9762\u4ecb\u7ecd\u4e00\u4e0b\u6211\u5728UCHome Apps\u5f00\u53d1\u8fc7\u7a0b\u4e2d\u7684\u4e00\u4e9b\u7ecf\u9a8c\u3002<\/p>\n

      \u60f3\u8981\u80fd\u591f\u968f\u7740\u5b98\u65b9\u7684\u7a0b\u5e8f\u53d1\u5e03\u5b9e\u73b0\u5e73\u6ed1\u7684\u4ee3\u7801\u5347\u7ea7\uff0c\u65e0\u975e\u4e00\u70b9\uff1a\u5c3d\u91cf\u7684\u5c11\u6539UCHome\u539f\u6709\u4ee3\u7801\u3002\u5c11\u6539\uff0c\u4f46\u4e0d\u662f\u4e0d\u6539\u3002\u4e00\u70b9\u4e0d\u6539\u7a0b\u5e8f\u7684\u6e90\u4ee3\u7801\u662f\u4e0d\u53ef\u80fd\u7684\u3002\u4f46\u5982\u4f55\u80fd\u5b9e\u73b0\u5c11\u6539\u5462\uff1f\u6211\u5b9a\u5236\u4e86\u4e86\u4e0b\u9762\u7684\u4e00\u4e9b\u89c4\u5219\uff1a<\/p>\n

\u57fa\u672c\u539f\u5219<\/strong>\u3000<\/p>\n

      \u9664template\u76ee\u5f55\u4e0b\u7684\u6a21\u677f\u6587\u4ef6\uff0c\u5176\u4f59uchome\u539f\u6709\u6587\u4ef6\u5c3d\u91cf\u4e0d\u8981\u6539\u52a8\u3002\u5982\u9700\u8981\u6539\u52a8\uff0c\u9700\u6c47\u62a5\u9879\u76ee\u7ba1\u7406\u4eba\u5458\u8bb0\u5f55\u540e\u624d\u53ef\u5b9e\u65bd\u4fee\u6539\u3002
      \u5373\u4f7f\u9700\u8981\u5bf9\u7cfb\u7edf\u539f\u6709\u6587\u4ef6\u8fdb\u884c\u4fee\u6539\uff0c\u5c3d\u91cf\u4e0d\u8981\u5728\u6587\u4ef6\u4e2d\u589e\u52a0\u903b\u8f91\u4ee3\u7801\uff0c\u4e5f\u4e0d\u8981\u4fee\u6539\u539f\u6709\u903b\u8f91\uff0c\u4f7f\u7528include\u7684\u65b9\u5f0f\u6765\u589e\u52a0\u903b\u8f91\u3002
      \u4f8b\u5982\uff0c\u9700\u8981\u5728\u7cfb\u7edf\u9996\u9875\u589e\u52a0growth\u7684\u8868\u5355\uff0c\u8bbe\u8ba1\u5230\u4e24\u4e2a\u7cfb\u7edf\u539f\u6709\u6587\u4ef6\u7684\u4fee\u6539\uff1a
source\/space_feed.php
template\/space_feed.htm
        \u4f46\u8bf7\u4e0d\u8981\u76f4\u63a5\u5728\u8fd9\u4e24\u4e2a\u6587\u4ef6\u4e2d\u589e\u52a0\u903b\u8f91\u4ee3\u7801\uff0c\u5bf9\u4e8e\u6a21\u677f\u6587\u4ef6\uff0c\u53ef\u4ee5\u4f7f\u7528<!-{template apps\/growth\/tpl\/widget\/form.htm}–>\u7684\u65b9\u5f0f\u52a0\u8f7d\u4e00\u4e2a\u5916\u90e8\u6587\u4ef6\uff1b\u540c\u6837\uff0c\u9488\u5bf9\u7a0b\u5e8f\u6587\u4ef6\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528include ‘apps\/growth\/widget\/form.php’\u7684\u65b9\u5f0f\u3002
\u91c7\u7528\u8fd9\u6837\u7684\u65b9\u5f0f\uff0c\u5373\u4f7f\u4ee5\u540e\u7a0b\u5e8f\u6587\u4ef6\u88ab\u8986\u76d6\uff0c\u4e5f\u4e0d\u4f1a\u589e\u52a0\u592a\u591a\u5de5\u4f5c\u91cf\u3002<\/p>\n<\/p>\n

\u6587\u4ef6\u7ed3\u6784<\/strong><\/p>\n

\n

<\/p>\n

    \n
  • \u4ee5apps.php\u4f5c\u4e3a\u5165\u53e3\u6587\u4ef6\uff0c\u6240\u6709\u5e94\u7528\u90fd\u4f7f\u7528\u7c7b\u4f3capps.php?do=growth&ac=list\u8fd9\u6837\u7684URL\u8bbf\u95ee\u5e94\u7528\u7a0b\u5e8f\u3002 \u5176\u4e2ddo\u4e3a\u5e94\u7528\u540d\u79f0\uff0cac\u4e3a\u52a8\u4f5c\uff08\u6267\u884c\u7684\u811a\u672c\u540d\uff09\u3002\u4f8b\u5982\u4e0a\u9762\u7684\u4f8b\u5b50\uff0c\u5b9e\u9645\u662f\u4ee5apps.php\u4e3a\u5165\u53e3\uff0c\u518d\u52a0\u8f7dapps\/growth\/list.php\u3002<\/li>\n
  • \u5e94\u7528\u7a0b\u5e8f\u7edf\u4e00\u653e\u5728apps\u76ee\u5f55\u4e4b\u4e0b\uff0c\u4ee5\u5e94\u7528\u7684\u540d\u79f0\u521b\u5efa\u6587\u4ef6\u5939\u3002\u4f8b\u5982\uff0c\u6210\u957f\u66f2\u7ebf\u7684\u540d\u79f0\u4e3agrowth\uff0c\u5219\u521b\u5efaapps\/growth\/\u76ee\u5f55\uff0c\u6240\u6709\u6210 \u957f\u66f2\u7ebf\u7684\u5e94\u7528\u7a0b\u5e8f\u90fd\u653e\u5728\u6b64\u6587\u4ef6\u5939\u4e0b\u3002\u5176\u4e2dtpl\u6587\u4ef6\u5939\u5b58\u653e\u6a21\u677f\u6587\u4ef6\uff0cimage\u6587\u4ef6\u5939\u5b58\u653e\u56fe\u7247\uff0c\u53ef\u6839\u636e\u5e94\u7528\u9700\u6c42\u5b89\u6392apps\/growth\/\u5185\u7684\u6587\u4ef6\u7ed3 \u6784\u3002<\/li>\n
  • growth\/doc \u76ee\u5f55\u7528\u4e8e\u5b58\u653e\u5f53\u524d\u5e94\u7528\u7684\u6587\u6863\uff0c\u4f8b\u5982\u5f00\u53d1\u6587\u6863\u3001api\u624b\u518c\u3001\u6570\u636e\u5e93\u811a\u672c\u7b49\u3002<\/li>\n
  • growth\/api.php\u4e3agrowth\u4e3a\u5916\u90e8\u7a0b\u5e8f\u63d0\u4f9b\u7684\u63a5\u53e3\u3002\u6587\u4ef6\u5185\u7684\u4ee3\u7801\u662f\u4e00\u4e2a\u7c7b\uff0c\u547d\u540d\u4e3aAppsGrowthApi\uff0c\u7c7b\u4e2d\u65b9\u6cd5\u5747\u4e3a\u9759\u6001\u65b9\u6cd5\uff0c\u65b9\u6cd5\u540d\u91c7\u7528\u9a7c\u5cf0\u683c\u5f0f\uff0c\u4f8b\u5982getGrowthPointByUid\uff0c\u65b9\u6cd5\u540d\u79f0\u8981\u8db3\u4ee5\u63cf\u8ff0\u5176\u529f\u80fd\u3002<\/li>\n
  • apps\/common\u6587\u4ef6\u5b58\u653e\u4e00\u4e9b\u5e94\u7528\u7a0b\u5e8f\u516c\u7528\u7684\u6587\u4ef6\uff0c\u4f8b\u5982\u516c\u7528\u7684js\u5e93\uff0cfunction\u5e93\uff0c\u7c7b\u5e93\u7b49\u3002<\/li>\n<\/ul>\n<\/blockquote>\n

    \u547d\u540d\u89c4\u8303<\/strong><\/p>\n

    \u7a0b\u5e8f\u547d\u540d\u89c4\u8303
    <\/strong><\/p>\n

      \n
    • \u6587\u4ef6\u540d\u4e00\u5f8b\u5c0f\u5199\uff0c\u5355\u8bcd\u95f4\u4ee5\u4e0b\u5212\u7ebf\u5206\u9694<\/li>\n
    • \u7c7b\u540d\u91c7\u7528\u9996\u5b57\u6bcd\u5927\u5199\u7684\u9a7c\u5cf0\u547d\u540d\u65b9\u5f0f<\/li>\n
    • \u7c7b\u4e2d\u7684\u65b9\u6cd5\u540d\u91c7\u7528\u9996\u5b57\u6bcd\u5c0f\u5199\u7684\u9a7c\u5cf0\u65b9\u5f0f\u547d\u540d<\/li>\n
    • \u7c7b\u4e2d\u7684\u79c1\u6709\u65b9\u6cd5\u548c\u79c1\u6709\u53d8\u91cf\u4ee5\u4e0b\u5212\u7ebf\u5f00\u5934<\/li>\n
    • \u51fd\u6570\u540d\u5168\u5c0f\u5199\uff0c\u5355\u8bcd\u95f4\u4ee5\u4e0b\u5212\u7ebf\u5206\u9694<\/li>\n
    • \u53d8\u91cf\u540d\u540c\u51fd\u6570\u540d<\/li>\n<\/ul>\n

      \u6570\u636e\u5e93\u547d\u540d\u89c4\u8303<\/strong><\/p>\n

        \n
      • \u6570\u636e\u8868\u4ee5uchome_app_\u4f5c\u4e3a\u524d\u7f00\uff0c\u4f8b\u5982uchome_app_growth_point<\/li>\n
      • \u5b57\u6bb5\u540d\u5168\u4e3a\u5c0f\u5199\uff0c\u4ee5\u4e0b\u5212\u7ebf\u5206\u9694\u5355\u8bcd<\/li>\n
      • \u5efa\u8bae\u5728\u5efa\u8868\u65f6\u6ce8\u660e\u5907\u6ce8\uff0c\u65b9\u4fbf\u7406\u89e3\u5b57\u6bb5\u7528\u5904<\/li>\n
      • \u5bf9\u6570\u636e\u8868\u7ed3\u6784\u7684\u66f4\u6539\uff0c\u8bf7\u5728\u5f53\u524d\u5e94\u7528\u7684doc\/sql\u76ee\u5f55\u4e0b\u4ee5\u65e5\u671f\u4e3a\u5355\u4f4d\u65b0\u5efa\u6587\u4ef6\uff0c\u8bb0\u5f55\u66f4\u6539\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<\/p>\n

        <\/p>\n


        <\/span><\/p>\n

        <\/span><\/strong><\/span><\/p>\n

        \u6ce8\u610f\uff1a<\/strong>\u6b64\u6587\u548cUCHome\u7684Manyou\u5f00\u53d1\u6a21\u5f0f\u4e0d\u540c\uff0cManyou\u662f\u5229\u7528Discuz\u7684\u5f00\u653e\u5e73\u53f0MYOP\u5f00\u53d1\u516c\u5171\u63d2\u4ef6\uff0c\u53ef\u4f9b\u6240\u6709\u57fa\u4e8eUCHome\u7684\u7f51\u7ad9\u4f7f\u7528\uff1b\u800c\u6b64\u6587\u6d89\u53ca\u7684\u5f00\u53d1\u6a21\u5f0f\u4e0eManyou\u4e0d\u540c\uff0c\u662f\u5728\u672c\u5730\u5f00\u53d1\uff0c\u4ee5\u63d2\u4ef6\u7684<\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/posts\/1011"}],"collection":[{"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/comments?post=1011"}],"version-history":[{"count":0,"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/posts\/1011\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/media?parent=1011"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/categories?post=1011"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/tags?post=1011"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}