{"id":709,"date":"2019-11-23T12:08:43","date_gmt":"2019-11-23T04:08:43","guid":{"rendered":"http:\/\/blog.yyhcw.com\/?p=709"},"modified":"2019-11-23T12:10:05","modified_gmt":"2019-11-23T04:10:05","slug":"cute%e4%b8%bb%e9%a2%98%e7%94%a8%e6%88%b7%e4%b8%ad%e5%bf%83%e5%a2%9e%e5%8a%a0%e6%94%b6%e8%b4%a7%e5%9c%b0%e5%9d%80%e5%b1%95%e7%a4%ba","status":"publish","type":"post","link":"https:\/\/blog.yyhcw.com\/post\/709.html","title":{"rendered":"Cute\u4e3b\u9898\u7528\u6237\u4e2d\u5fc3\u589e\u52a0\u6536\u8d27\u5730\u5740\u5c55\u793a"},"content":{"rendered":"<!--wp-compress-html--><!--wp-compress-html no compression--><p>\u4f7f\u7528<a href=\"https:\/\/blog.yyhcw.com\/post\/tag\/wordpress\" class=\"tag-tooltip\" data-toggle=\"tooltip\" title=\"\u67e5\u770b\u66f4\u591a\u5173\u4e8e wordpress \u7684\u6587\u7ae0\" target=\"_blank\">wordpress<\/a>\u4e5f\u6709\u4e00\u6bb5\u65f6\u95f4\u4e86\uff0c\u4f7f\u7528\u4e2d\u786e\u5b9e\u53d1\u73b0\u633a\u4e0d\u9519\u7684\u4e00\u4e2a\u7cfb\u7edf\uff0c\u771f\u662f\u4e07\u80fd\u5efa\u7ad9\u7cfb\u7edf\uff01\u4e8e\u662f\u4e4e\u4e4b\u524d\u53d1\u6587\u8bf4\u8fc7\u5c06\u6211\u7684<a href=\"http:\/\/www.21863.cn\">\u5bb6\u653f\u7f51<\/a>\u4e5f\u4ecePHPCMS\u8f6c\u6210<a href=\"https:\/\/blog.yyhcw.com\/post\/tag\/wordpress\" class=\"tag-tooltip\" data-toggle=\"tooltip\" title=\"\u67e5\u770b\u66f4\u591a\u5173\u4e8e wordpress \u7684\u6587\u7ae0\" target=\"_blank\">wordpress<\/a>\u4e86\uff1b\u867d\u7136\u6587\u7ae0\u91cf\u5927\u4e86\u4ee5\u540e\u4f1a\u51fa\u73b0\u6162\u7684\u60c5\u51b5\uff0c\u4f46\u662f\u7ecf\u8fc7\u4f18\u5316\u4e4b\u540e\u901f\u5ea6\u8fd8\u662f\u53ef\u4ee5\u7684\uff01<\/p>\n<p>\u597d\u4e86\u8bdd\u56de\u6b63\u9898\uff0c\u7531\u4e8e\u6211\u4f7f\u7528\u4e86<a href=\"https:\/\/blog.yyhcw.com\/post\/tag\/cute\" class=\"tag-tooltip\" data-toggle=\"tooltip\" title=\"\u67e5\u770b\u66f4\u591a\u5173\u4e8e Cute \u7684\u6587\u7ae0\" target=\"_blank\">Cute<\/a>\u9ed8\u8ba4\u7684\u5546\u57ce\u7cfb\u7edf(\u4ece<a href=\"https:\/\/blog.yyhcw.com\/post\/tag\/tint-k%e4%b8%bb%e9%a2%98\" class=\"tag-tooltip\" data-toggle=\"tooltip\" title=\"\u67e5\u770b\u66f4\u591a\u5173\u4e8e Tint-K\u4e3b\u9898 \u7684\u6587\u7ae0\" target=\"_blank\">Tint-K\u4e3b\u9898<\/a>\u8f6c\u5230<a href=\"https:\/\/blog.yyhcw.com\/post\/tag\/cute\" class=\"tag-tooltip\" data-toggle=\"tooltip\" title=\"\u67e5\u770b\u66f4\u591a\u5173\u4e8e Cute \u7684\u6587\u7ae0\" target=\"_blank\">Cute<\/a>\u4e3b\u9898)\uff0c\u6545\u800c\u5c31\u6709\u8d2d\u4e70\u3001\u53d1\u8d27\u5730\u5740\u7b49\u4fe1\u606f\u4e86\uff0c\u53d1\u73b0\u5728\u4f7f\u7528\u7684\u8fc7\u7a0b\u4e2d\u5bf9\u4e8e\u8d2d\u4e70\u8fc7\u7684\u60f3\u67e5\u770b\u4ed6\u7684\u5177\u4f53\u6536\u8d27\u4e0d\u662f\u5f88\u65b9\u4fbf(\u8fd9\u4e2a\u7528\u6237\u4e00\u5171\u6709\u51e0\u4e2a\u6536\u8d27\u5730\u5740\uff1f\u4e5f\u5c31\u662f\u7528\u6237\u6536\u8d27\u5730\u5740\u7ba1\u7406)\u867d\u7136\u7528\u6237\u81ea\u5df1\u518d\u4ea4\u6613\u7684\u65f6\u5019\u53ef\u4ee5\u9009\u62e9\u81ea\u5df1\u7684\u6536\u8d27\u5730\u5740\uff0c\u4f46\u662f\u7ba1\u7406\u5458\u5374\u4e0d\u65b9\u4fbf\u770b\uff0c\u4e8e\u662f\u4e4e\u5c31\u5728\u7528\u6237\u7684\u8d44\u6599\u9875\u9762\u589e\u52a0\u6536\u8d27\u5730\u5740\u5217\u8868\u800c\u5df2\uff01\u4e0d\u8fdb\u884c\u589e\u5220\u6539\u7b49\u64cd\u4f5c\uff01\u6548\u679c\u5982\u4e0b\uff1a<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-711\" src=\"http:\/\/blog.yyhcw.com\/wp-content\/uploads\/2019\/11\/97f7eca0a6ce517d.jpg\" alt=\"\u7528\u6237\u6536\u8d27\u5730\u5740\" width=\"882\" height=\"560\" \/><\/p>\n<p>\u4fee\u6539\u6587\u4ef6\u3010Cute\\core\\modules\\uc\\uc.Tab.Profile.php\u3011\u6587\u4ef6\uff0c\u5728\u3010\u63d0\u793a\uff1a\u8fd9\u91cc\u53ef\u4ee5\u7ed9\u7528\u6237\u589e\u52a0\u79ef\u5206\uff0c\u4f59\u989d\uff0c\u5f00\u901a\u4f1a\u5458\u3002\u3011\u540e\u589e\u52a0\u6e90\u7801\u5982\u4e0b\uff1a<\/p>\n<pre class=\"lang:php decode:true \">&lt;div class=\"info-group clearfix\"&gt;\r\n                &lt;a class=\"btn btn-wide btn-border-danger\" href=\"&lt;?php echo tt_url_for('manage_user', $info-&gt;ID); ?&gt;\" title=\"&lt;?php _e('Manage the user', 'tt'); ?&gt;\" target=\"_blank\" style=\"float: right;\"&gt;&lt;?php _e('\u7ba1\u7406\u7528\u6237', 'tt'); ?&gt;&lt;\/a&gt;\r\n                &lt;p&gt;\u63d0\u793a\uff1a\u8fd9\u91cc\u53ef\u4ee5\u7ed9\u7528\u6237\u589e\u52a0\u79ef\u5206\uff0c\u4f59\u989d\uff0c\u5f00\u901a\u4f1a\u5458\u3002&lt;\/p&gt;\r\n            &lt;\/div&gt;\r\n            &lt;header&gt;&lt;h2&gt;&lt;?php _e('\u7528\u6237\u6536\u8d27\u5730\u5740\u7ba1\u7406', 'tt'); ?&gt;&lt;small&gt;&lt;?php _e('Visible for administrator', 'tt'); ?&gt;&lt;\/small&gt;&lt;\/h2&gt;&lt;\/header&gt;\r\n            &lt;div class=\"info-group clearfix\"&gt;\r\n                &lt;?php $adlist = tt_get_addresses($tt_author_id);\r\n                $default_address_id = (int) get_user_meta($tt_author_id, 'tt_default_address_id', true);\r\n                if($adlist){\r\n                    foreach($adlist as $key=&gt;$vo){\r\n                        $moren = '';\r\n                        if($default_address_id == $vo-&gt;id){\r\n                            $moren = '&lt;button class=\"layui-btn layui-btn-normal pull-right\" title=\"\u9ed8\u8ba4\u6536\u8d27\u5730\u5740\"&gt;\u9ed8\u8ba4\u5730\u5740&lt;\/button&gt;';\r\n                        }\r\n                        echo '&lt;div class=\"layui-card\"&gt;&lt;div class=\"layui-card-header layui-bg-cyan\"&gt;'.$moren.'\u5730\u5740\u7f16\u53f7\uff1a'.$vo-&gt;id.'&lt;\/div&gt;';\r\n                        echo '&lt;div class=\"layui-card-body\"&gt;\u6536\u8d27\u4eba\uff1a'.$vo-&gt;user_name.'&lt;br&gt;\u7535  \u8bdd\uff1a'.$vo-&gt;user_cellphone.'&lt;br&gt;\u5730  \u5740\uff1a'.$vo-&gt;user_address.'&lt;br&gt;\u90ae  \u7f16\uff1a'.$vo-&gt;user_zip.'&lt;br&gt;EMAIL\uff1a'.$vo-&gt;user_email.'&lt;\/div&gt;&lt;\/div&gt;';\r\n                    }\r\n                }\r\n                ?&gt;\r\n            &lt;\/div&gt;<\/pre>\n<p>&nbsp;<\/p>\n<!--wp-compress-html no compression--><!--wp-compress-html-->","protected":false},"excerpt":{"rendered":"\u4f7f\u7528wordpress\u4e5f\u6709\u4e00\u6bb5\u65f6\u95f4\u4e86\uff0c\u4f7f\u7528\u4e2d\u786e\u5b9e\u53d1\u73b0\u633a\u4e0d\u9519\u7684\u4e00\u4e2a\u7cfb\u7edf\uff0c\u771f\u662f\u4e07\u80fd\u5efa\u7ad9\u7cfb\u7edf\uff01\u4e8e\u662f\u4e4e\u4e4b\u524d\u53d1\u6587\u8bf4\u8fc7\u5c06\u6211 \u00b7\u00b7\u00b7","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[172,126,28],"views":531,"_links":{"self":[{"href":"https:\/\/blog.yyhcw.com\/api\/wp\/v2\/posts\/709"}],"collection":[{"href":"https:\/\/blog.yyhcw.com\/api\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.yyhcw.com\/api\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.yyhcw.com\/api\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.yyhcw.com\/api\/wp\/v2\/comments?post=709"}],"version-history":[{"count":0,"href":"https:\/\/blog.yyhcw.com\/api\/wp\/v2\/posts\/709\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.yyhcw.com\/api\/wp\/v2\/media?parent=709"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.yyhcw.com\/api\/wp\/v2\/categories?post=709"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.yyhcw.com\/api\/wp\/v2\/tags?post=709"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}