{"id":3629,"date":"2023-11-21T10:27:40","date_gmt":"2023-11-21T02:27:40","guid":{"rendered":"http:\/\/www.ponybai.com\/?p=3629"},"modified":"2023-11-21T10:27:52","modified_gmt":"2023-11-21T02:27:52","slug":"%e6%8e%a5%e5%8f%a3","status":"publish","type":"post","link":"http:\/\/www.ponybai.com\/?p=3629","title":{"rendered":"Apex\u63a5\u53e3"},"content":{"rendered":"\n<p><dfn>\u63a5\u53e3<\/dfn>\u5c31\u50cf\u4e00\u4e2a\u7c7b\uff0c\u5176\u4e2d\u6ca1\u6709\u4efb\u4f55\u65b9\u6cd5 \u5df2\u5b9e\u73b0 &#8211; \u65b9\u6cd5\u7b7e\u540d\u5b58\u5728\uff0c\u4f46\u6bcf\u4e2a\u65b9\u6cd5\u7684\u4e3b\u4f53\u4e3a\u7a7a\u3002\u81ea \u4f7f\u7528\u63a5\u53e3\uff0c\u53e6\u4e00\u4e2a\u7c7b\u5fc5\u987b\u901a\u8fc7\u4e3a\u6240\u6709\u65b9\u6cd5\u63d0\u4f9b\u4e3b\u4f53\u6765\u5b9e\u73b0\u5b83 \u5305\u542b\u5728\u63a5\u53e3\u4e2d\u3002<\/p>\n\n\n\n<p>\u63a5\u53e3\u53ef\u4ee5\u4e3a\u4ee3\u7801\u63d0\u4f9b\u62bd\u8c61\u5c42\u3002\u4ed6\u4eec\u5206\u79bb\u7279\u5b9a\u7684 \u4ece\u8be5\u65b9\u6cd5\u7684\u58f0\u660e\u4e2d\u5b9e\u73b0\u65b9\u6cd5\u3002\u8fd9\u6837\u4f60\u5c31\u53ef\u4ee5\u62e5\u6709 \u57fa\u4e8e\u7279\u5b9a\u5e94\u7528\u7a0b\u5e8f\u7684\u65b9\u6cd5\u7684\u4e0d\u540c\u5b9e\u73b0\u3002<\/p>\n\n\n\n<p>\u5b9a\u4e49\u63a5\u53e3\u7c7b\u4f3c\u4e8e\u5b9a\u4e49\u65b0\u7c7b\u3002\u4f8b\u5982\uff0c\u4e00\u5bb6\u516c\u53f8\u53ef\u4ee5\u6709 \u4e24\u79cd\u7c7b\u578b\u7684\u91c7\u8d2d\u8ba2\u5355\uff0c\u4e00\u79cd\u6765\u81ea\u5ba2\u6237\uff0c\u53e6\u4e00\u79cd\u6765\u81ea\u5ba2\u6237 \u4ed6\u4eec\u7684\u5458\u5de5\u3002\u4e24\u8005\u90fd\u662f\u4e00\u79cd\u91c7\u8d2d\u8ba2\u5355\u3002\u5047\u8bbe\u60a8\u9700\u8981\u4e00\u79cd\u65b9\u6cd5\u6765 \u63d0\u4f9b\u6298\u6263\u3002\u6298\u6263\u91d1\u989d\u53ef\u80fd\u53d6\u51b3\u4e8e\u91c7\u8d2d\u8ba2\u5355\u7684\u7c7b\u578b\u3002<\/p>\n\n\n\n<p>\u60a8\u53ef\u4ee5\u5c06\u91c7\u8d2d\u8ba2\u5355\u7684\u4e00\u822c\u6982\u5ff5\u5efa\u6a21\u4e3a\u63a5\u53e3\uff0c\u5e76\u5177\u6709\u7279\u5b9a\u7684 \u4e3a\u5ba2\u6237\u548c\u5458\u5de5\u5b9e\u65bd\u3002\u5728\u4ee5\u4e0b\u793a\u4f8b\u4e2d\uff0c\u7126\u70b9\u4ec5\u4e3a \u5728\u91c7\u8d2d\u8ba2\u5355\u7684\u6298\u6263\u65b9\u9762\u3002<\/p>\n\n\n\n<p>\u4e0b\u9762\u662f\u63a5\u53e3\u7684\u5b9a\u4e49\u3002<samp>PurchaseOrder<\/samp><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/ An interface that defines what a purchase order looks like in general\npublic interface PurchaseOrder {\n    \/\/ All other functionality excluded\n    Double discount();\n}<\/code><\/pre>\n\n\n\n<p>\u6b64\u7c7b\u5b9e\u73b0\u63a5\u53e3 \u7528\u4e8e\u5ba2\u6237\u91c7\u8d2d\u8ba2\u5355\u3002<samp>PurchaseOrder<\/samp><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/ One implementation of the interface for customers\npublic class CustomerPurchaseOrder implements PurchaseOrder {\n    public Double discount() {\n        return .05;  \/\/ Flat 5% discount\n    }\n}<\/code><\/pre>\n\n\n\n<p>\u6b64\u7c7b\u5b9e\u73b0\u63a5\u53e3 \u7528\u4e8e\u5458\u5de5\u91c7\u8d2d\u8ba2\u5355\u3002<samp>PurchaseOrder<\/samp><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/ Another implementation of the interface for employees\npublic class EmployeePurchaseOrder implements PurchaseOrder {\n      public Double discount() {\n        return .10;  \/\/ It\u2019s worth it being an employee! 10% discount\n      } \n}<\/code><\/pre>\n\n\n\n<p>\u8bf7\u6ce8\u610f\u6709\u5173\u8be5\u793a\u4f8b\u7684\u4ee5\u4e0b\u4fe1\u606f\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u63a5\u53e3\u5df2\u5b9a\u4e49 \u4f5c\u4e3a\u901a\u7528\u539f\u578b\u3002\u63a5\u53e3\u4e2d\u5b9a\u4e49\u7684\u65b9\u6cd5\u65e0\u6743\u8bbf\u95ee \u4fee\u9970\u7b26\uff0c\u5e76\u4e14\u53ea\u5305\u542b\u5b83\u4eec\u7684\u7b7e\u540d\u3002<samp>PurchaseOrder<\/samp><\/li>\n\n\n\n<li>\u73ed\u7ea7 \u5b9e\u73b0\u6b64\u63a5\u53e3;\u56e0\u6b64\uff0c\u5b83\u5fc5\u987b\u4e3a\u65b9\u6cd5\u63d0\u4f9b\u5b9a\u4e49\u3002\u4efb\u4f55\u7c7b \u5b9e\u73b0\u63a5\u53e3\u5fc5\u987b\u5b9a\u4e49\u63a5\u53e3\u4e2d\u5305\u542b\u7684\u6240\u6709\u65b9\u6cd5\u3002<samp>CustomerPurchaseOrder<\/samp><samp>discount<\/samp><\/li>\n<\/ul>\n\n\n\n<p>\u5b9a\u4e49\u65b0\u63a5\u53e3\u65f6\uff0c\u5c31\u662f\u5728\u5b9a\u4e49\u65b0\u7684\u6570\u636e\u7c7b\u578b\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528 \u63a5\u53e3\u540d\u79f0\uff1a\u5728\u4efb\u4f55\u5730\u65b9\u90fd\u53ef\u4ee5\u4f7f\u7528\u5176\u4ed6\u6570\u636e\u7c7b\u578b\u540d\u79f0\u3002\u5206\u914d\u7ed9 interface \u7c7b\u578b\u7684\u53d8\u91cf\u5fc5\u987b\u662f\u5b9e\u73b0\u8be5\u63a5\u53e3\u7684\u7c7b\u7684\u5b9e\u4f8b\uff0c \u6216\u5b50\u63a5\u53e3\u6570\u636e\u7c7b\u578b\u3002<\/p>\n\n\n\n<p>\u53e6\u8bf7\u53c2\u89c1<a href=\"https:\/\/developer.salesforce.com\/docs\/atlas.en-us.apexcode.meta\/apexcode\/apex_classes_casting.htm\">\u7c7b\u548c\u5f3a\u5236\u8f6c\u6362<\/a>\u3002<\/p>\n\n\n\n<p>\u6ce8\u610f<\/p>\n\n\n\n<p>\u5728\u7c7b\u4e4b\u540e\uff0c\u65e0\u6cd5\u5c06\u65b9\u6cd5\u6dfb\u52a0\u5230\u5168\u5c40\u63a5\u53e3 \u5728\u6258\u7ba1 &#8211; \u5df2\u53d1\u5e03\u7684\u5305\u7248\u672c\u4e2d\u4e0a\u4f20\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u7248\u672c\u5316\u884c\u4e3a\u66f4\u6539<\/h2>\n\n\n\n<p>\u5728 API \u7248\u672c 50.0 \u53ca\u66f4\u9ad8\u7248\u672c\u4e2d\uff0c\u8303\u56f4\u548c\u53ef\u8bbf\u95ee\u6027\u89c4\u5219\u5728 Apex \u4e0a\u5f3a\u5236\u6267\u884c \u7528 \u6ce8\u91ca\u7684\u53d8\u91cf\u3001\u65b9\u6cd5\u3001\u5185\u90e8\u7c7b\u548c\u63a5\u53e3\u3002\u5bf9\u4e8e\u53ef\u8bbf\u95ee\u6027 \u6ce8\u610f\u4e8b\u9879\uff0c\u8bf7\u53c2\u9605\u00a0NamespaceAccessible \u6ce8\u91ca\u3002\u6709\u5173\u57fa\u4e8e\u547d\u540d\u7a7a\u95f4\u7684\u53ef\u89c1\u6027\u7684\u8be6\u7ec6\u4fe1\u606f\uff0c\u8bf7\u53c2\u9605\u57fa\u4e8e\u547d\u540d\u7a7a\u95f4\u7684\u53ef\u89c1\u6027 \u9002\u7528\u4e8e\u7b2c\u4e8c\u4ee3\u8f6f\u4ef6\u5305\u4e2d\u7684 Apex \u7c7b\u3002<samp>@namespaceAccessible<\/samp><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u81ea\u5b9a\u4e49\u8fed\u4ee3\u5668<\/li>\n<\/ol>\n\n\n\n<h1 class=\"wp-block-heading\">\u81ea\u5b9a\u4e49\u8fed\u4ee3\u5668<\/h1>\n\n\n\n<p><a><\/a>\u8fed\u4ee3\u5668\u904d\u5386\u96c6\u5408\u4e2d\u7684\u6bcf\u4e2a\u9879\u3002\u4f8b\u5982\uff0c\u5728 Apex \u7684\u5faa\u73af\u4e2d\uff0c\u60a8\u5b9a\u4e49\u4e86\u4e00\u4e2a \u9000\u51fa\u5faa\u73af\u7684\u6761\u4ef6\uff0c\u5e76\u4e14\u60a8\u5fc5\u987b\u63d0\u4f9b\u4e00\u4e9b\u904d\u5386 \u96c6\u5408\uff0c\u5373\u8fed\u4ee3\u5668\u3002<samp>while<\/samp>\u5728\u6b64\u793a\u4f8b\u4e2d\uff0c\u6bcf\u6b21\u5faa\u73af \u6267\u884c\u3002<\/p>\n\n\n\n<p><samp>count<\/samp><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>while (count &lt; 11) {\n   System.debug(count);\n      count++;\n   }<\/code><\/pre>\n\n\n\n<p>\u4f7f\u7528\u8be5\u754c\u9762\uff0c\u60a8\u53ef\u4ee5\u521b\u5efa\u81ea\u5b9a\u4e49\u96c6 \u7684\u6307\u4ee4\uff0c\u7528\u4e8e\u901a\u8fc7\u5faa\u73af\u904d\u5386\u5217\u8868\u3002\u8fed\u4ee3\u5668\u5bf9\u6570\u636e\u5f88\u6709\u7528 \u5b58\u5728\u4e8e Salesforce \u4e4b\u5916\u7684\u6e90\u4e2d\uff0c\u60a8\u901a\u5e38\u4f1a\u5b9a\u4e49\u5176\u8303\u56f4 \u4f7f\u7528\u8bed\u53e5\u3002\u8fed\u4ee3\u5668\u4e5f\u53ef\u4ee5\u662f \u5982\u679c\u6709\u591a\u4e2a\u8bed\u53e5\uff0c\u5219\u4f7f\u7528\u3002<samp>Iterator<\/samp><samp>SELECT<\/samp><samp>SELECT<\/samp><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a><\/a>\u4f7f\u7528\u81ea\u5b9a\u4e49 \u8fed\u4ee3\u5668<\/h2>\n\n\n\n<p>\u81ea \u4f7f\u7528\u81ea\u5b9a\u4e49\u8fed\u4ee3\u5668\u65f6\uff0c\u5fc5\u987b\u521b\u5efa\u4e00\u4e2a\u5b9e\u73b0\u63a5\u53e3\u7684 Apex \u7c7b\u3002<samp>Iterator<\/samp>\u8be5\u63a5\u53e3\u5177\u6709\u4ee5\u4e0b\u5b9e\u4f8b \u65b9\u6cd5\uff1a<\/p>\n\n\n\n<p><samp>Iterator<\/samp><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u540d\u5b57<\/th><th>\u53c2\u6570<\/th><th>\u8fd4\u56de<\/th><th>\u63cf\u8ff0<\/th><\/tr><\/thead><tbody><tr><td><samp>hasNext<\/samp><\/td><td><\/td><td>\u5e03\u5c14<\/td><td>\u5982\u679c\u51fa\u73b0\u4ee5\u4e0b\u60c5\u51b5\uff0c\u5219\u8fd4\u56de \u5426\u5219\uff0c\u96c6\u5408\u4e2d\u8fd8\u6709\u53e6\u4e00\u4e2a\u9879\u76ee\u6b63\u5728\u904d\u5386\u3002<samp>true<\/samp><samp>false<\/samp><\/td><\/tr><tr><td><samp>next<\/samp><\/td><td><\/td><td>\u4efb\u4f55\u7c7b\u578b<\/td><td>\u8fd4\u56de\u96c6\u5408\u4e2d\u7684\u4e0b\u4e00\u9879\u3002<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u63a5\u53e3\u4e2d\u7684\u6240\u6709\u65b9\u6cd5\u90fd\u5fc5\u987b\u58f0\u660e\u4e3a \u6216 \u3002<samp>Iterator<\/samp><samp>global<\/samp><samp>public<\/samp>\u60a8\u53ea\u80fd\u5728\u5faa\u73af\u4e2d\u4f7f\u7528\u81ea\u5b9a\u4e49\u8fed\u4ee3\u5668\u3002\u4e3a \u4f8b\uff1a<\/p>\n\n\n\n<p><samp>while<\/samp><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>IterableString x = new IterableString('This is a really cool test.');\n\nwhile(x.hasNext()){\n   system.debug(x.next());\n}<\/code><\/pre>\n\n\n\n<p>\u5faa\u73af\u4e2d\u76ee\u524d\u4e0d\u652f\u6301\u8fed\u4ee3\u5668\u3002<\/p>\n\n\n\n<p><samp>for<\/samp><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5c06\u81ea\u5b9a\u4e49\u8fed\u4ee3\u5668\u4e0e&nbsp;Iterable&nbsp;\u4e00\u8d77\u4f7f\u7528<\/h2>\n\n\n\n<p>\u5982\u679c \u60a8\u4e0d\u60f3\u5c06\u81ea\u5b9a\u4e49\u8fed\u4ee3\u5668\u4e0e\u5217\u8868\u4e00\u8d77\u4f7f\u7528\uff0c\u800c\u662f\u5e0c\u671b\u521b\u5efa \u81ea\u5df1\u7684\u6570\u636e\u7ed3\u6784\uff0c\u53ef\u4ee5\u4f7f\u7528\u63a5\u53e3\u751f\u6210\u6570\u636e\u7ed3\u6784\u3002<samp>Iterable<\/samp>\u8be5\u63a5\u53e3\u5177\u6709\u4ee5\u4e0b\u65b9\u6cd5\uff1a<\/p>\n\n\n\n<p><samp>Iterable<\/samp><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u540d\u5b57<\/th><th>\u53c2\u6570<\/th><th>\u8fd4\u56de<\/th><th>\u63cf\u8ff0<\/th><\/tr><\/thead><tbody><tr><td><samp>iterator<\/samp><\/td><td><\/td><td>Iterator \u7c7b<\/td><td>\u8fd4\u56de\u5bf9\u6b64\u63a5\u53e3\u7684\u8fed\u4ee3\u5668\u7684\u5f15\u7528\u3002<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u8be5\u65b9\u6cd5\u5fc5\u987b\u662f \u58f0\u660e\u4e3a \u6216 \u3002\u5b83\u521b\u5efa\u5bf9\u8fed\u4ee3\u5668\u7684\u5f15\u7528 \u7136\u540e\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u5b83\u6765\u904d\u5386\u6570\u636e\u7ed3\u6784\u3002<samp>iterator<\/samp><samp>global<\/samp><samp>public<\/samp>In the following example a custom iterator iterates through a collection:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>public class CustomIterator\n   implements Iterator&lt;Account&gt;{ \n \n   private List&lt;Account&gt; accounts;\n   private Integer currentIndex;\n \n   public CustomIterator(List&lt;Account&gt; accounts){\n       this.accounts = accounts;\n       this.currentIndex = 0;\n   }\n \n   public Boolean hasNext(){ \n       return currentIndex &lt; accounts.size();\n   }    \n \n   public Account next(){\n       if(hasNext()) {\n           return accounts&#91;currentIndex++];\n       } else {\n           throw new NoSuchElementException('Iterator has no more elements.');\n       }\n   } \n}<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>public class CustomIterable implements Iterable&lt;Account&gt; {\n   public Iterator&lt;Account&gt; iterator(){\n      List&lt;Account&gt; accounts =\n      &#91;SELECT Id, Name,\n       NumberOfEmployees \n       FROM Account\n       LIMIT 10];\n      return new CustomIterator(accounts);\n   }\n}<\/code><\/pre>\n\n\n\n<p>\u4e0b\u9762\u662f\u4e00\u4e2a\u6279\u5904\u7406\u4f5c\u4e1a\uff0c\u5b83\u4f7f\u7528 \u8fed \u4ee3\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>public class BatchClass implements Database.Batchable&lt;Account&gt;{\n   public Iterable&lt;Account&gt; start(Database.BatchableContext info){\n       return new CustomIterable();\n   }\n   public void execute(Database.BatchableContext info, List&lt;Account&gt; scope){\n       List&lt;Account&gt; accsToUpdate = new List&lt;Account&gt;();\n       for(Account acc : scope){\n           acc.Name = 'changed';\n           acc.NumberOfEmployees = 69;\n           accsToUpdate.add(acc);\n       }\n       update accsToUpdate;\n   }\n   public void finish(Database.BatchableContext info){\n   }\n}<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u63a5\u53e3\u5c31\u50cf\u4e00\u4e2a\u7c7b\uff0c\u5176\u4e2d\u6ca1\u6709\u4efb\u4f55\u65b9\u6cd5 \u5df2\u5b9e\u73b0 &#8211; \u65b9\u6cd5\u7b7e\u540d\u5b58\u5728\uff0c\u4f46\u6bcf\u4e2a\u65b9\u6cd5\u7684\u4e3b\u4f53\u4e3a\u7a7a\u3002\u81ea \u4f7f\u7528\u63a5\u53e3\uff0c\u53e6\u4e00\u4e2a\u7c7b\u5fc5\u987b\u901a\u8fc7\u4e3a\u6240\u6709\u65b9\u6cd5\u63d0\u4f9b\u4e3b\u4f53\u6765\u5b9e\u73b0\u5b83 \u5305\u542b\u5728\u63a5\u53e3\u4e2d\u3002<\/p>\n","protected":false},"author":1,"featured_media":3630,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[199],"tags":[],"class_list":["post-3629","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-apex-"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Apex\u63a5\u53e3 - \u767d\u767d\u968f\u7b14<\/title>\n<meta name=\"description\" content=\"\u63a5\u53e3\u5c31\u50cf\u4e00\u4e2a\u7c7b\uff0c\u5176\u4e2d\u6ca1\u6709\u4efb\u4f55\u65b9\u6cd5 \u5df2\u5b9e\u73b0 - \u65b9\u6cd5\u7b7e\u540d\u5b58\u5728\uff0c\u4f46\u6bcf\u4e2a\u65b9\u6cd5\u7684\u4e3b\u4f53\u4e3a\u7a7a\u3002\u81ea \u4f7f\u7528\u63a5\u53e3\uff0c\u53e6\u4e00\u4e2a\u7c7b\u5fc5\u987b\u901a\u8fc7\u4e3a\u6240\u6709\u65b9\u6cd5\u63d0\u4f9b\u4e3b\u4f53\u6765\u5b9e\u73b0\u5b83 \u5305\u542b\u5728\u63a5\u53e3\u4e2d\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/www.ponybai.com\/?p=3629\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Apex\u63a5\u53e3 - \u767d\u767d\u968f\u7b14\" \/>\n<meta property=\"og:description\" content=\"\u63a5\u53e3\u5c31\u50cf\u4e00\u4e2a\u7c7b\uff0c\u5176\u4e2d\u6ca1\u6709\u4efb\u4f55\u65b9\u6cd5 \u5df2\u5b9e\u73b0 - \u65b9\u6cd5\u7b7e\u540d\u5b58\u5728\uff0c\u4f46\u6bcf\u4e2a\u65b9\u6cd5\u7684\u4e3b\u4f53\u4e3a\u7a7a\u3002\u81ea \u4f7f\u7528\u63a5\u53e3\uff0c\u53e6\u4e00\u4e2a\u7c7b\u5fc5\u987b\u901a\u8fc7\u4e3a\u6240\u6709\u65b9\u6cd5\u63d0\u4f9b\u4e3b\u4f53\u6765\u5b9e\u73b0\u5b83 \u5305\u542b\u5728\u63a5\u53e3\u4e2d\u3002\" \/>\n<meta property=\"og:url\" content=\"http:\/\/www.ponybai.com\/?p=3629\" \/>\n<meta property=\"og:site_name\" content=\"\u767d\u767d\u968f\u7b14\" \/>\n<meta property=\"article:published_time\" content=\"2023-11-21T02:27:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-11-21T02:27:52+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.ponybai.com\/wp-content\/uploads\/2023\/11\/Apex-Interface.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1351\" \/>\n\t<meta property=\"og:image:height\" content=\"235\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"ponybai\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"ponybai\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\/\/www.ponybai.com\/?p=3629#article\",\"isPartOf\":{\"@id\":\"http:\/\/www.ponybai.com\/?p=3629\"},\"author\":{\"name\":\"ponybai\",\"@id\":\"http:\/\/www.ponybai.com\/#\/schema\/person\/935c7592c850c65e1e5eba4530dbf883\"},\"headline\":\"Apex\u63a5\u53e3\",\"datePublished\":\"2023-11-21T02:27:40+00:00\",\"dateModified\":\"2023-11-21T02:27:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\/\/www.ponybai.com\/?p=3629\"},\"wordCount\":54,\"publisher\":{\"@id\":\"http:\/\/www.ponybai.com\/#\/schema\/person\/935c7592c850c65e1e5eba4530dbf883\"},\"articleSection\":[\"Apex \u5f00\u53d1\u4eba\u5458\u6307\u5357\"],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/www.ponybai.com\/?p=3629\",\"url\":\"http:\/\/www.ponybai.com\/?p=3629\",\"name\":\"Apex\u63a5\u53e3 - \u767d\u767d\u968f\u7b14\",\"isPartOf\":{\"@id\":\"http:\/\/www.ponybai.com\/#website\"},\"datePublished\":\"2023-11-21T02:27:40+00:00\",\"dateModified\":\"2023-11-21T02:27:52+00:00\",\"description\":\"\u63a5\u53e3\u5c31\u50cf\u4e00\u4e2a\u7c7b\uff0c\u5176\u4e2d\u6ca1\u6709\u4efb\u4f55\u65b9\u6cd5 \u5df2\u5b9e\u73b0 - \u65b9\u6cd5\u7b7e\u540d\u5b58\u5728\uff0c\u4f46\u6bcf\u4e2a\u65b9\u6cd5\u7684\u4e3b\u4f53\u4e3a\u7a7a\u3002\u81ea \u4f7f\u7528\u63a5\u53e3\uff0c\u53e6\u4e00\u4e2a\u7c7b\u5fc5\u987b\u901a\u8fc7\u4e3a\u6240\u6709\u65b9\u6cd5\u63d0\u4f9b\u4e3b\u4f53\u6765\u5b9e\u73b0\u5b83 \u5305\u542b\u5728\u63a5\u53e3\u4e2d\u3002\",\"breadcrumb\":{\"@id\":\"http:\/\/www.ponybai.com\/?p=3629#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/www.ponybai.com\/?p=3629\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/www.ponybai.com\/?p=3629#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"http:\/\/www.ponybai.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Apex\u63a5\u53e3\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/www.ponybai.com\/#website\",\"url\":\"http:\/\/www.ponybai.com\/\",\"name\":\"\u767d\u767d\u968f\u7b14\",\"description\":\"Salesforce\u5b98\u65b9\u8bb2\u5e08\",\"publisher\":{\"@id\":\"http:\/\/www.ponybai.com\/#\/schema\/person\/935c7592c850c65e1e5eba4530dbf883\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/www.ponybai.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"http:\/\/www.ponybai.com\/#\/schema\/person\/935c7592c850c65e1e5eba4530dbf883\",\"name\":\"ponybai\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"http:\/\/www.ponybai.com\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/www.ponybai.com\/wp-content\/uploads\/2025\/03\/cropped-Ihsans-WeChatQR.jpg\",\"contentUrl\":\"http:\/\/www.ponybai.com\/wp-content\/uploads\/2025\/03\/cropped-Ihsans-WeChatQR.jpg\",\"width\":248,\"height\":248,\"caption\":\"ponybai\"},\"logo\":{\"@id\":\"http:\/\/www.ponybai.com\/#\/schema\/person\/image\/\"},\"sameAs\":[\"http:\/\/121.37.188.161\"],\"url\":\"http:\/\/www.ponybai.com\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Apex\u63a5\u53e3 - \u767d\u767d\u968f\u7b14","description":"\u63a5\u53e3\u5c31\u50cf\u4e00\u4e2a\u7c7b\uff0c\u5176\u4e2d\u6ca1\u6709\u4efb\u4f55\u65b9\u6cd5 \u5df2\u5b9e\u73b0 - \u65b9\u6cd5\u7b7e\u540d\u5b58\u5728\uff0c\u4f46\u6bcf\u4e2a\u65b9\u6cd5\u7684\u4e3b\u4f53\u4e3a\u7a7a\u3002\u81ea \u4f7f\u7528\u63a5\u53e3\uff0c\u53e6\u4e00\u4e2a\u7c7b\u5fc5\u987b\u901a\u8fc7\u4e3a\u6240\u6709\u65b9\u6cd5\u63d0\u4f9b\u4e3b\u4f53\u6765\u5b9e\u73b0\u5b83 \u5305\u542b\u5728\u63a5\u53e3\u4e2d\u3002","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":"http:\/\/www.ponybai.com\/?p=3629","og_locale":"zh_CN","og_type":"article","og_title":"Apex\u63a5\u53e3 - \u767d\u767d\u968f\u7b14","og_description":"\u63a5\u53e3\u5c31\u50cf\u4e00\u4e2a\u7c7b\uff0c\u5176\u4e2d\u6ca1\u6709\u4efb\u4f55\u65b9\u6cd5 \u5df2\u5b9e\u73b0 - \u65b9\u6cd5\u7b7e\u540d\u5b58\u5728\uff0c\u4f46\u6bcf\u4e2a\u65b9\u6cd5\u7684\u4e3b\u4f53\u4e3a\u7a7a\u3002\u81ea \u4f7f\u7528\u63a5\u53e3\uff0c\u53e6\u4e00\u4e2a\u7c7b\u5fc5\u987b\u901a\u8fc7\u4e3a\u6240\u6709\u65b9\u6cd5\u63d0\u4f9b\u4e3b\u4f53\u6765\u5b9e\u73b0\u5b83 \u5305\u542b\u5728\u63a5\u53e3\u4e2d\u3002","og_url":"http:\/\/www.ponybai.com\/?p=3629","og_site_name":"\u767d\u767d\u968f\u7b14","article_published_time":"2023-11-21T02:27:40+00:00","article_modified_time":"2023-11-21T02:27:52+00:00","og_image":[{"width":1351,"height":235,"url":"http:\/\/www.ponybai.com\/wp-content\/uploads\/2023\/11\/Apex-Interface.png","type":"image\/png"}],"author":"ponybai","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"ponybai","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/www.ponybai.com\/?p=3629#article","isPartOf":{"@id":"http:\/\/www.ponybai.com\/?p=3629"},"author":{"name":"ponybai","@id":"http:\/\/www.ponybai.com\/#\/schema\/person\/935c7592c850c65e1e5eba4530dbf883"},"headline":"Apex\u63a5\u53e3","datePublished":"2023-11-21T02:27:40+00:00","dateModified":"2023-11-21T02:27:52+00:00","mainEntityOfPage":{"@id":"http:\/\/www.ponybai.com\/?p=3629"},"wordCount":54,"publisher":{"@id":"http:\/\/www.ponybai.com\/#\/schema\/person\/935c7592c850c65e1e5eba4530dbf883"},"articleSection":["Apex \u5f00\u53d1\u4eba\u5458\u6307\u5357"],"inLanguage":"zh-Hans"},{"@type":"WebPage","@id":"http:\/\/www.ponybai.com\/?p=3629","url":"http:\/\/www.ponybai.com\/?p=3629","name":"Apex\u63a5\u53e3 - \u767d\u767d\u968f\u7b14","isPartOf":{"@id":"http:\/\/www.ponybai.com\/#website"},"datePublished":"2023-11-21T02:27:40+00:00","dateModified":"2023-11-21T02:27:52+00:00","description":"\u63a5\u53e3\u5c31\u50cf\u4e00\u4e2a\u7c7b\uff0c\u5176\u4e2d\u6ca1\u6709\u4efb\u4f55\u65b9\u6cd5 \u5df2\u5b9e\u73b0 - \u65b9\u6cd5\u7b7e\u540d\u5b58\u5728\uff0c\u4f46\u6bcf\u4e2a\u65b9\u6cd5\u7684\u4e3b\u4f53\u4e3a\u7a7a\u3002\u81ea \u4f7f\u7528\u63a5\u53e3\uff0c\u53e6\u4e00\u4e2a\u7c7b\u5fc5\u987b\u901a\u8fc7\u4e3a\u6240\u6709\u65b9\u6cd5\u63d0\u4f9b\u4e3b\u4f53\u6765\u5b9e\u73b0\u5b83 \u5305\u542b\u5728\u63a5\u53e3\u4e2d\u3002","breadcrumb":{"@id":"http:\/\/www.ponybai.com\/?p=3629#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["http:\/\/www.ponybai.com\/?p=3629"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/www.ponybai.com\/?p=3629#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"http:\/\/www.ponybai.com\/"},{"@type":"ListItem","position":2,"name":"Apex\u63a5\u53e3"}]},{"@type":"WebSite","@id":"http:\/\/www.ponybai.com\/#website","url":"http:\/\/www.ponybai.com\/","name":"\u767d\u767d\u968f\u7b14","description":"Salesforce\u5b98\u65b9\u8bb2\u5e08","publisher":{"@id":"http:\/\/www.ponybai.com\/#\/schema\/person\/935c7592c850c65e1e5eba4530dbf883"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/www.ponybai.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":["Person","Organization"],"@id":"http:\/\/www.ponybai.com\/#\/schema\/person\/935c7592c850c65e1e5eba4530dbf883","name":"ponybai","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"http:\/\/www.ponybai.com\/#\/schema\/person\/image\/","url":"http:\/\/www.ponybai.com\/wp-content\/uploads\/2025\/03\/cropped-Ihsans-WeChatQR.jpg","contentUrl":"http:\/\/www.ponybai.com\/wp-content\/uploads\/2025\/03\/cropped-Ihsans-WeChatQR.jpg","width":248,"height":248,"caption":"ponybai"},"logo":{"@id":"http:\/\/www.ponybai.com\/#\/schema\/person\/image\/"},"sameAs":["http:\/\/121.37.188.161"],"url":"http:\/\/www.ponybai.com\/?author=1"}]}},"_links":{"self":[{"href":"http:\/\/www.ponybai.com\/index.php?rest_route=\/wp\/v2\/posts\/3629","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.ponybai.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.ponybai.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.ponybai.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.ponybai.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3629"}],"version-history":[{"count":2,"href":"http:\/\/www.ponybai.com\/index.php?rest_route=\/wp\/v2\/posts\/3629\/revisions"}],"predecessor-version":[{"id":3632,"href":"http:\/\/www.ponybai.com\/index.php?rest_route=\/wp\/v2\/posts\/3629\/revisions\/3632"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.ponybai.com\/index.php?rest_route=\/wp\/v2\/media\/3630"}],"wp:attachment":[{"href":"http:\/\/www.ponybai.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3629"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.ponybai.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3629"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.ponybai.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3629"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}