{"id":2218,"date":"2019-09-20T20:41:00","date_gmt":"2019-09-20T12:41:00","guid":{"rendered":"http:\/\/www.ponybai.com\/?p=2218"},"modified":"2019-09-20T20:41:00","modified_gmt":"2019-09-20T12:41:00","slug":"%e6%b5%8f%e8%a7%88%e7%a4%ba%e4%be%8b%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e5%b9%b6%e5%8f%91%e7%8e%b0%e7%bc%93%e5%ad%98%e8%af%8a%e6%96%ad","status":"publish","type":"post","link":"http:\/\/www.ponybai.com\/?p=2218","title":{"rendered":"\u6d4f\u89c8\u793a\u4f8b\u5e94\u7528\u7a0b\u5e8f\u5e76\u53d1\u73b0\u7f13\u5b58\u8bca\u65ad"},"content":{"rendered":"\n\t\t\t\t\n<h2 class=\"wp-block-heading\" id=\"Tdxn4tBK-heading1\">\u5b66\u4e60\u76ee\u6807<\/h2>\n\n\n\n<p>\u5b8c\u6210\u672c\u5355\u5143\u540e\uff0c\u60a8\u5c06\u80fd\u591f\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u89e3\u91ca\u7528\u4e8e\u5b58\u50a8\u548c\u5237\u65b0\u7f13\u5b58\u6570\u636e\u7684\u6a21\u5f0f\u3002<\/li><li>\u786e\u5b9a\u7528\u4e8e\u7f13\u5b58\u503c\u7684\u6570\u636e\u7ed3\u6784\u3002<\/li><li>\u8bca\u65ad\u60a8\u7684\u7f13\u5b58\u4f7f\u7528\u60c5\u51b5\u3002<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Tdxn4tBK-heading2\">\u793a\u4f8b\u5e94\u7528\u7a0b\u5e8f\u6f14\u7ec3<\/h2>\n\n\n\n<p>\u8ba9\u6211\u4eec\u770b\u4e00\u4e2a\u793a\u4f8b\u5e94\u7528\u7a0b\u5e8f\uff0c\u8be5\u5e94\u7528\u7a0b\u5e8f\u6f14\u793a\u5982\u4f55\u4f7f\u7528\u7ec4\u7ec7\u7f13\u5b58\u6765\u5b58\u50a8\u548c\u68c0\u7d22\u8d27\u5e01\u6c47\u7387\u3002\u6c47\u7387\u5728\u4e00\u5929\u5185\u6ce2\u52a8\uff0c\u56e0\u6b64\u8be5\u793a\u4f8b\u5e94\u7528\u7a0b\u5e8f\u4e0d\u4f1a\u8fd4\u56de\u5b9e\u65f6\u6c47\u7387\u3002\u8be5\u5e94\u7528\u7a0b\u5e8f\u53ea\u63d0\u4f9b\u6c47\u7387\u7684\u6bcf\u65e5\u5feb\u7167\u3002\u56e0\u4e3a\u6211\u4eec\u5bf9\u51c6\u786e\u7684\u5b9e\u65f6\u4ef7\u503c\u4e0d\u611f\u5174\u8da3\uff0c\u800c\u53ea\u5bf9\u65e5\u5e38\u4ef7\u503c\u611f\u5174\u8da3\uff0c\u56e0\u6b64\u7f13\u5b58\u8d27\u5e01\u6c47\u7387\u662f\u4e00\u4e2a\u4e0d\u9519\u7684\u9009\u62e9\u3002\u5f53\u91cd\u590d\u68c0\u7d22\u6c47\u7387\u65f6\uff0c\u4ece\u7f13\u5b58\u4e2d\u83b7\u53d6\u6c47\u7387\u4f1a\u8282\u7701\u5927\u91cf\u65f6\u95f4\u5e76\u63d0\u9ad8\u5e94\u7528\u7a0b\u5e8f\u7684\u6027\u80fd\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Tdxn4tBK-heading3\">\u793a\u4f8b\u5e94\u7528\u7a0b\u5e8f\u6982\u8ff0<\/h3>\n\n\n\n<p>\u6211\u4eec\u5c06\u6211\u4eec\u7684\u6c47\u7387\u6837\u672c\u7533\u8bf7\u57fa\u4e8eVisualforce\u9875\u9762\u548cApex\u63a7\u5236\u5668\uff0c\u8be5\u63a7\u5236\u5668\u5305\u542b\u83b7\u53d6\u6c47\u7387\u7684\u903b\u8f91\u3002\u7b2c\u4e00\u6b21\u8bbf\u95ee\u6b64\u9875\u9762\u65f6\uff0c\u901f\u7387\u662f\u901a\u8fc7\u5bf9\u5916\u90e8Web\u670d\u52a1\u7684API\u8c03\u7528\u83b7\u5f97\u7684\u3002\u53ea\u8981\u8d39\u7387\u4f4e\u4e8e\u4e00\u5929\uff0c\u6b64\u9875\u9762\u7684\u540e\u7eed\u6267\u884c\u5c06\u4ece\u7f13\u5b58\u4e2d\u8fd4\u56de\u8d39\u7387\u3002\u5bf9\u4e8e\u6bcf\u79cd\u6c47\u7387\uff0c\u6b64\u9875\u9762\u663e\u793a\u57fa\u7840\u8d27\u5e01\uff0c\u8f6c\u6362\u7684\u76ee\u6807\u8d27\u5e01\u548c\u8f6c\u6362\u7387\u3002\u51fa\u4e8e\u8bf4\u660e\u76ee\u7684\uff0c\u8fd4\u56de\u4e00\u5c0f\u7ec4\u8d27\u5e01\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/res.cloudinary.com\/hy4kyit2a\/f_auto,fl_lossy,q_70\/learn\/modules\/platform_cache\/platform_cache_walkthrough\/images\/2fabf5b7990c8c143ad1150ab60e07bf_platform_cache_currency_exchange_app.jpg\" alt=\"Visualforce\u9875\u9762\u663e\u793a\u8d27\u5e01\u6c47\u7387\"\/><\/figure>\n\n\n\n<p>\u6b64\u793a\u4f8b\u662fVisualforce\u9875\u9762\u7684\u6807\u8bb0\u3002\u6b64\u9875\u9762\u4e0eExchangeRates&nbsp;Apex\u63a7\u5236\u5668\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;apex:page controller=\"ExchangeRates\" action=\"{!init}\">\n    \n   &lt;apex:pageBlock title=\"Rates\">\n      &lt;apex:pageBlockTable value=\"{!Rates}\" var=\"rate\">\n         &lt;apex:column value=\"{!rate.Base_Currency__c}\"\/>\n         &lt;apex:column value=\"{!rate.To_Currency__c}\"\/>\n         &lt;apex:column value=\"{!rate.Rate__c }\"\/>\n      &lt;\/apex:pageBlockTable>\n   &lt;\/apex:pageBlock>\n   \n&lt;\/apex:page><\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Tdxn4tBK-heading4\">\u6837\u54c1Apex\u63a7\u5236\u5668<\/h3>\n\n\n\n<p>\u6211\u4eec\u7684\u6837\u54c1Apex\u63a7\u5236\u5668\u53ef\u4ee5\u5b8c\u6210\u7e41\u91cd\u7684\u5de5\u4f5c\u3002\u5b83\u83b7\u53d6\u6c47\u7387\uff0c\u5c06\u5b83\u4eec\u5b58\u50a8\u5728Salesforce\u548c\u7f13\u5b58\u4e2d\uff0c\u5e76\u4ece\u7f13\u5b58\u4e2d\u68c0\u7d22\u6c47\u7387\u3002\u4ee5\u4e0b\u662f\u6837\u672c\u63a7\u5236\u5668\u6267\u884c\u7684\u64cd\u4f5c\u7ec6\u5206\uff0c\u540e\u8ddf\u6e90\u4ee3\u7801\u3002<\/p>\n\n\n\n<p>\u7b2c\u4e00\u6b21\u8fd0\u884c\u6837\u672c\u65f6\uff0c\u4f1a\u53d1\u751f\u4ee5\u4e0b\u64cd\u4f5c\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u6c47\u7387\u662f\u4ece\u5bf9\u5916\u90e8\u7aef\u70b9\u7684API\u8c03\u7528\u83b7\u5f97\u7684\u3002<\/li><li>\u4eceAPI\u8c03\u7528\u8fd4\u56de\u7684\u7ed3\u679c\uff08\u4ee5JSON\u683c\u5f0f\uff09\u5c06\u88ab\u89e3\u6790\u5e76\u4fdd\u5b58\u5728Salesforce\u4e2d\u7684Exchange_Rate__c sObjects\u4e2d\u3002<\/li><li>\u8be5&nbsp;getCachedRates\uff08\uff09&nbsp;method\u5c06Exchange_Rate__c sObjects\u6570\u7ec4\u5b58\u50a8\u5728org\u7f13\u5b58\u4e2d\u3002<\/li><\/ul>\n\n\n\n<p>\u5728\u968f\u540e\u7684\u6837\u672c\u6267\u884c\u4e2d\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u8be5\u793a\u4f8b\u68c0\u67e5\u5b58\u50a8\u6570\u636e\u7684\u65b0\u9c9c\u7a0b\u5ea6\u3002\u4e3a\u6b64\uff0c\u5b83\u6267\u884cSOQL\u67e5\u8be2\u4ee5\u83b7\u53d6\u7b2c\u4e00\u4e2a\u8fd4\u56de\u7684Exchange_Rate__c\u8bb0\u5f55\u7684createdDate\u503c\u3002<\/li><li>\u5982\u679c\u65e5\u671f\u65e9\u4e8e\u4e00\u5929\uff0c\u5219\u4eceAPI\u8c03\u7528\u83b7\u5f97\u6c47\u7387\uff0c\u4e0e\u7b2c\u4e00\u6b21\u6267\u884c\u65f6\u4e00\u6837\u3002<\/li><li>\u5982\u679c\u65e5\u671f\u65e9\u4e8e\u4e00\u5929\uff0c\u5219\u8d39\u7387\u5c06\u4ece\u7ec4\u7ec7\u7f13\u5b58\u4e2d\u83b7\u53d6\u3002\u5982\u679c\u5b58\u5728\u9ad8\u901f\u7f13\u5b58\u672a\u547d\u4e2d\uff0c\u5219\u4eceExchange_Rate__c sObject\u67e5\u8be2\u901f\u7387\u5e76\u5c06\u5176\u5b58\u50a8\u5728\u7ec4\u7ec7\u9ad8\u901f\u7f13\u5b58\u4e2d\u3002<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/res.cloudinary.com\/hy4kyit2a\/f_auto,fl_lossy,q_70\/learn\/modules\/platform_cache\/platform_cache_walkthrough\/images\/c4d9ef0c272016519cf3740a5172d683_icon_note.png\" alt=\"\u6ce8\u610f\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">\u6ce8\u610f<\/h4>\n\n\n\n<p>Apex\u63a7\u5236\u5668\u4f7f\u7528\u4e00\u4e2a\u540d\u4e3a\u7684\u8f85\u52a9Apex\u7c7b&nbsp;RateLib\uff0c\u8fd9\u91cc\u6ca1\u6709\u663e\u793a\u3002\u6b64\u5e2e\u52a9\u7a0b\u5e8f\u7c7b\u5305\u542b\u7528\u4e8e\u5bf9\u4f20\u8f93\u901f\u7387\u670d\u52a1\u8fdb\u884c\u4f20\u51faAPI\u8c03\u7528\uff0c\u4eceAPI\u8c03\u7528\u89e3\u6790JSON\u7ed3\u679c\u4ee5\u53ca\u5b58\u50a8Exchange_Rate__c\u8bb0\u5f55\u7684\u65b9\u6cd5\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>public class ExchangeRates {\n    private String currencies = 'EUR,GBP,CAD,PLN,INR,AUD,SGD,CHF,MYR,JPY,CNY';\n    public String getCurrencies() { return currencies;}\n    public Exchange_Rate__c[] rates {get; set;}\n    \/\/                                                                          \n    \/\/ Checks if the data is old and gets new data from an external web service \n    \/\/ through a callout. Calls getCachedRates() to manage the cache.           \n    \/\/ \n    public void init() {\n        \/\/ Let's query the latest data from Salesforce\n        Exchange_Rate__c[] latestRecords = ([SELECT CreatedDate FROM Exchange_Rate__c \n                        WHERE Base_Currency__c =:RateLib.baseCurrencies \n                              AND forList__c = true \n                        ORDER BY CreatedDate DESC\n                        LIMIT 1]);\n        \n        \/\/ If what we have in Salesforce is old, get fresh data from the API\n        if ( latestRecords == null  \n            || latestRecords.size() == 0 \n            || latestRecords[0].CreatedDate.date() &lt; Datetime.now().date()) {\n            \/\/ Do API request and parse value out\n            String tempString = RateLib.getLoadRate(currencies);\n            Map&lt;String, String> apiStrings = RateLib.getParseValues(\n                tempString, currencies);\n            \n            \/\/ Let's store the data in Salesforce\n            RateLib.saveRates(apiStrings);\n            \/\/ Remove the cache key so it gets refreshed in getCachedRates()\n            Cache.Org.remove('Rates');\n        }\n        \/\/ Call method to manage the cache\n        rates = getCachedRates();\n    }\n    \/\/                                                                          \n    \/\/ Main method for managing the org cache.                                  \n    \/\/ - Returns exchange rates (Rates key) from the org cache.                 \n    \/\/ - Checks for a cache miss.                                               \n    \/\/ - If there is a cache miss, returns exchange rates from Salesforce       \n    \/\/    through a SOQL query, and updates the cached value.                   \n    \/\/\n    public Exchange_Rate__c[] getCachedRates() {\n        \/\/ Get the cached value for key named Rates\n        Exchange_Rate__c[] rates = (Exchange_Rate__c[])Cache.Org.get(\n            RateLib.cacheName+'Rates');\n        \n        \/\/ Is it a cache miss? \n        if(rates == null) {\n            \/\/ There was a cache miss so get the data via SOQL\n            rates = [SELECT Id, Base_Currency__c, To_Currency__c, Rate__c \n                        FROM Exchange_Rate__c \n                        WHERE Base_Currency__c =:RateLib.baseCurrencies \n                              AND forList__c = true\n                              AND CreatedDate = TODAY];\n            \/\/ Reload the cache\n            Cache.Org.put(RateLib.cacheName+'Rates', rates);\n        }\n        return rates;\n    }\n}<\/code><\/pre>\n\n\n\n<p>\u8981\u4e0b\u8f7dExchange Rate\u793a\u4f8b\u7684\u6765\u6e90\u5e76\u5728Developer org\u4e2d\u4f7f\u7528\u5b83\uff0c\u8bf7\u53c2\u9605\u53c2\u8003\u8d44\u6599\u90e8\u5206\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Tdxn4tBK-heading5\">\u7f13\u5b58\u7ba1\u7406\u7684\u6700\u4f73\u5b9e\u8df5<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Tdxn4tBK-heading6\">\u7f13\u5b58\u5b58\u50a8\u7684\u6a21\u5f0f<\/h3>\n\n\n\n<p>\u8be5&nbsp;ExchangeRatesApex\u7c7b\u5305\u542b\u5c01\u88c5\u521d\u59cb\u5316\u548c\u5237\u65b0\u7f13\u5b58\u7684\u903b\u8f91\u7684\u65b9\u6cd5\u3002\u5982\u679c\u6570\u636e\u9648\u65e7\u6216\u672a\u627e\u5230\uff0c\u5219\u5728\u91cc\u9762\uff08\uff09method\u901a\u8fc7API\u8c03\u7528\u68c0\u7d22\u65b0\u7684\u6c47\u7387\uff0c\u7136\u540e\u5c06\u5b83\u4eec\u5b58\u50a8\u5728Salesforce\u4e2d\u3002\u8be5getCachedRates\uff08\uff09\u65b9\u6cd5\u5728\u5185\u90e8\u7ba1\u7406\u7f13\u5b58\u3002\u5982\u679c\u672a\u627e\u5230\u7f13\u5b58\u503c\uff0c\u5219\u6b64\u65b9\u6cd5\u4eceSalesforce\u68c0\u7d22\u4e00\u7ec4\u901f\u7387\u5e76\u5c06\u5176\u5b58\u50a8\u5728\u7f13\u5b58\u4e2d\u3002<\/p>\n\n\n\n<p>\u7531\u4e8e\u6211\u4eec\u7684\u5e94\u7528\u7a0b\u5e8f\u4f7f\u7528\u5916\u90e8\u6570\u636e\uff0c\u56e0\u6b64\u5b83\u901a\u8fc7API\u8c03\u7528\u4eceWeb\u670d\u52a1\u83b7\u53d6\u6570\u636e\u3002\u5b83\u8fd8\u5c06\u6570\u636e\u5b58\u50a8\u4e3aSalesforce\u8bb0\u5f55\uff0c\u4f5c\u4e3a\u5237\u65b0\u7f13\u5b58\u7684\u5907\u4efd\u3002\u4e0d\u4f7f\u7528\u5916\u90e8\u6570\u636e\u7684\u5e94\u7528\u7a0b\u5e8f\u4f7f\u7528SOQL\u68c0\u7d22Salesforce\u8bb0\u5f55\u5e76\u5bf9\u5176\u8fdb\u884c\u7f13\u5b58\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u7f13\u5b58\u7ba1\u7406\u8fc7\u7a0b\u66f4\u7b80\u5355\uff0c\u7f13\u5b58\u65b9\u6cd5\u5b9e\u73b0\u66f4\u77ed\u3002\u4f8b\u5982\uff0c\u5982\u679c\u60a8\u7684\u5e94\u7528\u53ea\u4f7f\u7528SOQL\u4e2d\u7684\u672c\u5730\u6570\u636e\uff0c\u5219\u4e0d\u9700\u8981\u5728\u91cc\u9762\uff08\uff09&nbsp;\u65b9\u6cd5\uff0c\u4f46\u53ea\u6709&nbsp;getCachedRates\uff08\uff09&nbsp;\u65b9\u6cd5\u3002<\/p>\n\n\n\n<p>\u6211\u4eec\u5efa\u8bae\u60a8\u5728\u4e00\u79cd\u65b9\u6cd5\u4e2d\u5305\u542b\u7528\u4e8e\u7ba1\u7406\u7f13\u5b58\u7684\u6240\u6709\u903b\u8f91\u3002\u8fd9\u6837\uff0c\u7f13\u5b58\u4ec5\u5728\u5e94\u7528\u7a0b\u5e8f\u7684\u4e00\u4e2a\u4f4d\u7f6e\u8fdb\u884c\u64cd\u4f5c\u3002\u9ad8\u901f\u7f13\u5b58\u7684\u96c6\u4e2d\u7ba1\u7406\u51cf\u5c11\u4e86\u8bbf\u95ee\u65e0\u6548\u9ad8\u901f\u7f13\u5b58\uff08\u9ad8\u901f\u7f13\u5b58\u672a\u547d\u4e2d\uff09\u6216\u610f\u5916\u8986\u76d6\u9ad8\u901f\u7f13\u5b58\u503c\u7684\u9519\u8bef\u7684\u53ef\u80fd\u6027\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Tdxn4tBK-heading7\">\u51b3\u5b9a\u7f13\u5b58\u4ec0\u4e48<\/h3>\n\n\n\n<p>\u6b64\u793a\u4f8b\u5c06\u4e00\u4e2asObjects\u6570\u7ec4\u5b58\u50a8\u5728\u7f13\u5b58\u4e2d\u3002\u8fd9\u79cd\u65b9\u6cd5\u662f\u5b58\u50a8\u6570\u636e\u7ed3\u6784\u7684\u6700\u4f73\u9009\u62e9\u5417\uff1f\u4f60\u505a\u51fa\u7684\u6bcf\u4e00\u4e2a\u9009\u62e9\u90fd\u6709\u6743\u8861\u3002\u5b58\u50a8\u8f83\u5c0f\u7684\u6570\u636e\u7247\u6bb5\uff08\u5982\u5b57\u6bb5\u503c\u800c\u4e0d\u662f\u6574\u4e2asObject\uff09\u53ef\u4ee5\u51cf\u5c11\u7f13\u5b58\u4f7f\u7528\u91cf\u3002\u4f46\u662f\uff0c\u5982\u679c\u5728\u6bcf\u4e2a\u952e\u4e2d\u5b58\u50a8\u7684\u6570\u636e\u8f83\u5c11\uff0c\u5219\u53ef\u80fd\u9700\u8981\u590d\u6742\u7684\u903b\u8f91\u6765\u91cd\u5efa\u6570\u636e\u548csObject\uff0c\u8fd9\u9700\u8981\u66f4\u591a\u7684\u5904\u7406\u65f6\u95f4\u3002\u5e76\u4e14\u5b58\u50a8\u5728\u4e00\u4e2a\u952e\u4e2d\u7684sObject\u6570\u7ec4\u4f7f\u7528\u7684\u7f13\u5b58\u7a7a\u95f4\u5c11\u4e8e\u5b58\u50a8\u5728\u5404\u4e2a\u952e\u4e2d\u7684\u5404\u4e2asObject\u7684\u603b\u5927\u5c0f\u3002\u7531\u4e8e\u5e8f\u5217\u5316\u548c\u7f13\u5b58\u63d0\u4ea4\u65f6\u95f4\u7684\u5f00\u9500\uff0c\u7f13\u5b58\u8f83\u5c0f\u7684\u9879\u800c\u4e0d\u662f\u9879\u5217\u8868\u4f1a\u964d\u4f4e\u7f13\u5b58\u6027\u80fd\u3002\u4f8b\u5982\uff0c<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Cache.Org.put('Rates', rates);<\/code><\/pre>\n\n\n\n<p>\u60a8\u53ef\u4ee5\u5c06\u5404\u4e2a\u8d39\u7387\u5b58\u50a8\u4e3a\u5177\u6709\u81ea\u5df1\u7684\u7f13\u5b58\u952e\u7684\u5b57\u6bb5\uff0c\u5982\u4e0b\u6240\u793a\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Cache.Org.put('DollarToEuroRate', rateEUR);\nCache.Org.put('DollarToChineseYuan', rateCNY);\nCache.Org.put('DollarToJapaneseYen', rateJPY);\n\/\/ etc.<\/code><\/pre>\n\n\n\n<p>\u51b3\u5b9a\u7f13\u5b58\u54ea\u79cd\u6570\u636e\u7ed3\u6784\u53d6\u51b3\u4e8e\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\u5bf9\u6570\u636e\u7684\u5904\u7406\u65b9\u5f0f\u3002\u4f8b\u5982\uff0c\u5982\u679c\u5e94\u7528\u7a0b\u5e8f\u8f6c\u6362\u76f8\u540c\u57fa\u7840\u8d27\u5e01\u7684\u8d27\u5e01\uff0c\u5219\u81f3\u5c11\u5b58\u50a8\u6bcf\u79cd\u76ee\u6807\u8d27\u5e01\u7684\u6c47\u7387\u3002\u60a8\u53ef\u4ee5\u5c06\u6bcf\u79cd\u8d27\u5e01\u6c47\u7387\u5b58\u50a8\u4e3a\u5355\u4e2a\u952e\u3002\u4f46\u662f\u4e3a\u4e86\u66f4\u5bb9\u6613\u5728Visualforce\u9875\u9762\u4e0a\u663e\u793a\u8d39\u7387\uff0c\u8bf7\u5c06\u6570\u636e\u7f13\u5b58\u4e3asObject\u5217\u8868\u3002sObjects\u53ef\u4ee5\u589e\u52a0\u5b58\u50a8\u7a7a\u95f4\uff0c\u56e0\u4e3a\u5b83\u4eec\u5305\u542b\u7cfb\u7edf\u5b57\u6bb5\uff0c\u4f8b\u5982\u521b\u5efa\u7684\u65e5\u671f\uff0c\u4f46\u5b83\u4eec\u51cf\u5c11\u4e86\u903b\u8f91\u5904\u7406\u65f6\u95f4\u5e76\u63d0\u9ad8\u4e86\u5e94\u7528\u7a0b\u5e8f\u548c\u7f13\u5b58\u6027\u80fd\u3002\u8bf7\u8bb0\u4f4f\uff0c\u5728\u4f7f\u7528\u7f13\u5b58\u65f6\uff0c\u4e3b\u8981\u76ee\u6807\u662f\u51cf\u5c11\u5e94\u7528\u7a0b\u5e8f\u7684\u6267\u884c\u65f6\u95f4\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Tdxn4tBK-heading8\">\u8bca\u65ad\u7f13\u5b58\u4f7f\u7528\u60c5\u51b5<\/h2>\n\n\n\n<p>\u6240\u4ee5\uff0c\u4f60\u5df2\u7ecf\u5b8c\u6210\u4e86\u6240\u6709\u8fd9\u4e9b\u5de5\u4f5c\u6765\u5b9e\u73b0Platform Cache\u3002\u4f60\u600e\u4e48\u77e5\u9053\u4f60\u662f\u5426\u6b63\u5728\u5145\u5206\u5229\u7528\u7f13\u5b58\uff1f\u6709\u51e0\u79cd\u65b9\u6cd5\u53ef\u4ee5\u68c0\u67e5\u6027\u80fd\u6570\u636e\u3002\u4e00\u79cd\u65b9\u6cd5\u662f\u5728Setup\u4e2d\u67e5\u770b\u8bca\u65ad\u4fe1\u606f\uff08\u4ec5\u5728Salesforce Classic\u4e2d\u53ef\u7528\uff09\u3002<\/p>\n\n\n\n<p>\u5728\u8bbf\u95ee\u8bca\u65ad\u9875\u9762\u4e4b\u524d\uff0c\u8bf7\u4e3a\u60a8\u7684\u7528\u6237\u542f\u7528\u7f13\u5b58\u8bca\u65ad\u6743\u9650\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>\u4ece\u201c\u8bbe\u7f6e\u201d\u4e2d\uff0c\u8f93\u5165users\u201c&nbsp;\u5feb\u901f\u67e5\u627e\u201d\u6846\uff0c\u7136\u540e\u9009\u62e9\u201c&nbsp;<strong>\u7528\u6237\u201d<\/strong>\u3002<\/li><li>\u5355\u51fb\u60a8\u7684\u7528\u6237\u540d\uff0c\u7136\u540e\u5355\u51fb\u201c&nbsp;<strong>\u7f16\u8f91\u201d<\/strong>\u3002<\/li><li>\u9009\u62e9\u201c&nbsp;<strong>\u7f13\u5b58\u8bca\u65ad\u201d<\/strong>\uff0c\u7136\u540e\u5355\u51fb\u201c&nbsp;<strong>\u4fdd\u5b58\u201d<\/strong>\u3002<\/li><\/ol>\n\n\n\n<p>\u63a5\u4e0b\u6765\uff0c\u8bbf\u95ee\u5206\u533a\u4e2d\u7279\u5b9a\u7f13\u5b58\u7c7b\u578b\u7684\u8bca\u65ad\u9875\u9762\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>\u4ece\u201c\u8bbe\u7f6e\u201d\u4e2d\uff0c\u8f93\u5165cache\u201c&nbsp;\u5feb\u901f\u67e5\u627e\u201d\u6846\uff0c\u7136\u540e\u9009\u62e9\u201c&nbsp;<strong>\u5e73\u53f0\u7f13\u5b58\u201d<\/strong>\u3002<\/li><li>\u5355\u51fb\u8981\u68c0\u67e5\u5176\u8bca\u65ad\u4fe1\u606f\u7684\u5206\u533a\u3002<\/li><li>\u5728\u4f1a\u8bdd\u7f13\u5b58\u6216\u7ec4\u7ec7\u7f13\u5b58\u4e0b\uff0c\u5355\u51fb\u201c&nbsp;<strong>\u8bca\u65ad\u201d<\/strong>\u3002<\/li><\/ol>\n\n\n\n<p>\u5982\u679c\u5355\u51fb\u201c\u7ec4\u7ec7\u7f13\u5b58\u201d\u7684\u201c&nbsp;<strong>\u8bca\u65ad\u201d<\/strong>\uff0c\u5219\u4f1a\u5728\u65b0\u9009\u9879\u5361\u4e2d\u6253\u5f00\u201c\u7ec4\u7ec7\u7f13\u5b58\u8bca\u65ad\u201d\u9875\u9762\u3002\u6b64\u9875\u9762\u663e\u793a\u4e24\u4e2a\u56fe\u8868\u3002\u7b2c\u4e00\u4e2a\u56fe\u8868\uff08\u7ec4\u7ec7\u7f13\u5b58\u5bb9\u91cf\u548c\u4f7f\u7528\u60c5\u51b5\uff09\u663e\u793a\u60a8\u7684\u7f13\u5b58\u4f7f\u7528\u9650\u5236\u3002\u5728\u6211\u4eec\u7684\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u4f4e\u4e8e\u6781\u96500.02\uff05\u3002\u7b2c\u4e8c\u4e2a\u56fe\u8868\uff08\u6309\u5185\u5bb9\u8d21\u732e\uff09\u662f\u4e00\u4e2a\u5706\u73af\u56fe\uff0c\u6309\u952e\u663e\u793a\u7f13\u5b58\u5206\u5e03\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/res.cloudinary.com\/hy4kyit2a\/f_auto,fl_lossy,q_70\/learn\/modules\/platform_cache\/platform_cache_walkthrough\/images\/c4d9ef0c272016519cf3740a5172d683_icon_note.png\" alt=\"\u6ce8\u610f\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">\u6ce8\u610f<\/h4>\n\n\n\n<p>\u56e0\u4e3a\u6211\u4eec\u7684\u793a\u4f8b\u4f7f\u7528org\u7f13\u5b58\uff0c\u6240\u4ee5\u6211\u4eec\u53ea\u68c0\u67e5\u8bca\u65ad\u9875\u9762\u4e2d\u7684org\u7f13\u5b58\u3002\u8fd8\u4e3a\u4f7f\u7528\u4f1a\u8bdd\u9ad8\u901f\u7f13\u5b58\u7684\u5e94\u7528\u7a0b\u5e8f\u7684\u4f1a\u8bdd\u9ad8\u901f\u7f13\u5b58\u63d0\u4f9b\u4e86\u7c7b\u4f3c\u7684\u8bca\u65ad\u9875\u9762\u3002<\/p>\n\n\n\n<p>\u4e0b\u56fe\u663e\u793a\u4e86\u5305\u542b\u56db\u4e2a\u7f13\u5b58\u952e\u7684\u5185\u5bb9\u5206\u53d1\u56fe\u8868\u3002\u5176\u4e2d\u4e00\u4e2a\u7f13\u5b58\u952eRate\u7528\u4e8e\u6211\u4eec\u7684\u6c47\u7387\u6837\u672c\u3002\u8be5&nbsp;\u4ef7\u683c\u952e\u66f4\u91c7\u7528\u4e86\u6bd4\u7a7a\u95f4\u7684\u4e00\u534a\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/res.cloudinary.com\/hy4kyit2a\/f_auto,fl_lossy,q_70\/learn\/modules\/platform_cache\/platform_cache_walkthrough\/images\/882214146d166c26ca729accca0e6a4a_platform_cache_diagnostics_org_cache_demo.png\" alt=\"\u7ec4\u7ec7\u7f13\u5b58\u7684\u8bca\u65ad\u9875\u9762\"\/><\/figure>\n\n\n\n<p>\u5728\u56fe\u8868\u4e4b\u540e\uff0c\u5217\u51fa\u4e86\u7f13\u5b58\u952e\u7684\u8be6\u7ec6\u4fe1\u606f\u3002\u6b64\u5217\u8868\u63d0\u4f9b\u4e0e\u5bc6\u94a5\u5bf9\u5e94\u7684\u6bcf\u4e2a\u7f13\u5b58\u503c\u7684\u5927\u5c0f\u4ee5\u53ca\u8bbf\u95ee\u7f13\u5b58\u7684\u6b21\u6570\u3002\u60a8\u53ef\u4ee5\u4ece\u6b64\u5217\u8868\u4e2d\u624b\u52a8\u5220\u9664\u7f13\u5b58\uff0c\u4f5c\u4e3a\u8c03\u7528\u8be5\u7f13\u5b58\u7684\u66ff\u4ee3\u65b9\u6cd5\u53bb\u6389\uff08\uff09Apex\u4e2d\u7684\u65b9\u6cd5\u3002\u201c&nbsp;<strong>\u5220\u9664\u201d<\/strong>\u6309\u94ae\u5141\u8bb8\u7ba1\u7406\u5458\u5728\u4e0d\u4fee\u6539\u4efb\u4f55\u4ee3\u7801\u7684\u60c5\u51b5\u4e0b\u7ba1\u7406\u7f13\u5b58\u3002<\/p>\n\n\n\n<p>\u8be5DollarToEuroRate\u952e\u4f7f\u7528\u6bd4\u5c11\u5f97\u591a\u7684\u7a7a\u95f4&nbsp;\u4ef7\u683c\u7684\u5173\u952e\u3002\u8fd9\u662f\u53ef\u4ee5\u9884\u6599\u7684\uff0c\u56e0\u4e3a&nbsp;DollarToEuroRate\u53ea\u5b58\u50a8\u4e00\u4e2a\u503c\uff0c\u800c&nbsp;Rates\u5b58\u50a8\u4e00\u7ec4sObjects\u3002<\/p>\n\n\n\n<p>\u4f7f\u7528\u8bca\u65ad\u9875\u9762\u4e0a\u7684\u4fe1\u606f\u786e\u5b9a\u662f\u5426\u8c03\u6574\u7f13\u5b58\u4f7f\u7528\u60c5\u51b5\u3002\u4f8b\u5982\uff0c\u5982\u679c\u7f13\u5b58\u503c\u5177\u6709\u8f83\u4f4e\u7684\u8bbf\u95ee\u8ba1\u6570\uff0c\u8868\u660e\u5b83\u5f88\u5c11\u4f7f\u7528\uff0c\u8bf7\u8003\u8651\u5b83\u662f\u5426\u771f\u7684\u9700\u8981\uff0c\u7279\u522b\u662f\u5982\u679c\u5b83\u5f88\u5927\u3002\u6216\u8005\uff0c\u5982\u679c\u60a8\u63a5\u8fd1\u7f13\u5b58\u4f7f\u7528\u9650\u5236\uff0c\u8bf7\u91cd\u65b0\u8003\u8651\u7f13\u5b58\u5185\u5bb9\u3002\u60a8\u53ef\u80fd\u5e0c\u671b\u5220\u9664\u4e0d\u5fc5\u8981\u7684\u7f13\u5b58\u503c\u6216\u8d2d\u4e70\u66f4\u591a\u7f13\u5b58\u5bb9\u91cf\u3002<\/p>\n\n\n\n<p>\u606d\u559c\uff01\u60a8\u5df2\u7ecf\u5b66\u4e60\u4e86\u5982\u4f55\u4f7f\u7528Platform Cache\u6765\u7f13\u5b58\u5e94\u7528\u7a0b\u5e8f\u7684\u6570\u636e\u4ee5\u4fbf\u5feb\u901f\u68c0\u7d22\u3002\u60a8\u8fd8\u4e86\u89e3\u4e86\u7f13\u5b58\u6700\u4f73\u5b9e\u8df5\u4ee5\u53ca\u5982\u4f55\u8bca\u65ad\u7f13\u5b58\u4f7f\u7528\u60c5\u51b5\u3002\u60a8\u73b0\u5728\u5df2\u51c6\u5907\u597d\u52a0\u5165\u82b1\u6817\u9f20\u7684\u5192\u9669\u5e76\u7f13\u5b58\u5b9d\u8d35\u7684\u8d44\u6e90\uff01<\/p>\n\t\t","protected":false},"excerpt":{"rendered":"<p>\u5b66\u4e60\u76ee\u6807 \u5b8c\u6210\u672c\u5355\u5143\u540e\uff0c\u60a8\u5c06\u80fd\u591f\uff1a \u89e3\u91ca\u7528\u4e8e\u5b58\u50a8\u548c\u5237\u65b0\u7f13\u5b58\u6570\u636e\u7684\u6a21\u5f0f\u3002 \u786e\u5b9a\u7528\u4e8e\u7f13\u5b58\u503c\u7684\u6570\u636e\u7ed3\u6784\u3002 \u8bca\u65ad\u60a8\u7684\u7f13 &hellip; <a href=\"http:\/\/www.ponybai.com\/?p=2218\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u6d4f\u89c8\u793a\u4f8b\u5e94\u7528\u7a0b\u5e8f\u5e76\u53d1\u73b0\u7f13\u5b58\u8bca\u65ad<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[178],"tags":[],"class_list":["post-2218","post","type-post","status-publish","format-standard","hentry","category-platform-cache"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u6d4f\u89c8\u793a\u4f8b\u5e94\u7528\u7a0b\u5e8f\u5e76\u53d1\u73b0\u7f13\u5b58\u8bca\u65ad - \u767d\u767d\u968f\u7b14<\/title>\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=2218\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u6d4f\u89c8\u793a\u4f8b\u5e94\u7528\u7a0b\u5e8f\u5e76\u53d1\u73b0\u7f13\u5b58\u8bca\u65ad - \u767d\u767d\u968f\u7b14\" \/>\n<meta property=\"og:description\" content=\"\u5b66\u4e60\u76ee\u6807 \u5b8c\u6210\u672c\u5355\u5143\u540e\uff0c\u60a8\u5c06\u80fd\u591f\uff1a \u89e3\u91ca\u7528\u4e8e\u5b58\u50a8\u548c\u5237\u65b0\u7f13\u5b58\u6570\u636e\u7684\u6a21\u5f0f\u3002 \u786e\u5b9a\u7528\u4e8e\u7f13\u5b58\u503c\u7684\u6570\u636e\u7ed3\u6784\u3002 \u8bca\u65ad\u60a8\u7684\u7f13 &hellip; \u7ee7\u7eed\u9605\u8bfb\u6d4f\u89c8\u793a\u4f8b\u5e94\u7528\u7a0b\u5e8f\u5e76\u53d1\u73b0\u7f13\u5b58\u8bca\u65ad\" \/>\n<meta property=\"og:url\" content=\"http:\/\/www.ponybai.com\/?p=2218\" \/>\n<meta property=\"og:site_name\" content=\"\u767d\u767d\u968f\u7b14\" \/>\n<meta property=\"article:published_time\" content=\"2019-09-20T12:41:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/res.cloudinary.com\/hy4kyit2a\/f_auto,fl_lossy,q_70\/learn\/modules\/platform_cache\/platform_cache_walkthrough\/images\/2fabf5b7990c8c143ad1150ab60e07bf_platform_cache_currency_exchange_app.jpg\" \/>\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=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\/\/www.ponybai.com\/?p=2218#article\",\"isPartOf\":{\"@id\":\"http:\/\/www.ponybai.com\/?p=2218\"},\"author\":{\"name\":\"ponybai\",\"@id\":\"http:\/\/www.ponybai.com\/#\/schema\/person\/935c7592c850c65e1e5eba4530dbf883\"},\"headline\":\"\u6d4f\u89c8\u793a\u4f8b\u5e94\u7528\u7a0b\u5e8f\u5e76\u53d1\u73b0\u7f13\u5b58\u8bca\u65ad\",\"datePublished\":\"2019-09-20T12:41:00+00:00\",\"dateModified\":\"2019-09-20T12:41:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\/\/www.ponybai.com\/?p=2218\"},\"wordCount\":108,\"publisher\":{\"@id\":\"http:\/\/www.ponybai.com\/#\/schema\/person\/935c7592c850c65e1e5eba4530dbf883\"},\"articleSection\":[\"Platform Cache\"],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/www.ponybai.com\/?p=2218\",\"url\":\"http:\/\/www.ponybai.com\/?p=2218\",\"name\":\"\u6d4f\u89c8\u793a\u4f8b\u5e94\u7528\u7a0b\u5e8f\u5e76\u53d1\u73b0\u7f13\u5b58\u8bca\u65ad - \u767d\u767d\u968f\u7b14\",\"isPartOf\":{\"@id\":\"http:\/\/www.ponybai.com\/#website\"},\"datePublished\":\"2019-09-20T12:41:00+00:00\",\"dateModified\":\"2019-09-20T12:41:00+00:00\",\"breadcrumb\":{\"@id\":\"http:\/\/www.ponybai.com\/?p=2218#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/www.ponybai.com\/?p=2218\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/www.ponybai.com\/?p=2218#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"http:\/\/www.ponybai.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u6d4f\u89c8\u793a\u4f8b\u5e94\u7528\u7a0b\u5e8f\u5e76\u53d1\u73b0\u7f13\u5b58\u8bca\u65ad\"}]},{\"@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":"\u6d4f\u89c8\u793a\u4f8b\u5e94\u7528\u7a0b\u5e8f\u5e76\u53d1\u73b0\u7f13\u5b58\u8bca\u65ad - \u767d\u767d\u968f\u7b14","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=2218","og_locale":"zh_CN","og_type":"article","og_title":"\u6d4f\u89c8\u793a\u4f8b\u5e94\u7528\u7a0b\u5e8f\u5e76\u53d1\u73b0\u7f13\u5b58\u8bca\u65ad - \u767d\u767d\u968f\u7b14","og_description":"\u5b66\u4e60\u76ee\u6807 \u5b8c\u6210\u672c\u5355\u5143\u540e\uff0c\u60a8\u5c06\u80fd\u591f\uff1a \u89e3\u91ca\u7528\u4e8e\u5b58\u50a8\u548c\u5237\u65b0\u7f13\u5b58\u6570\u636e\u7684\u6a21\u5f0f\u3002 \u786e\u5b9a\u7528\u4e8e\u7f13\u5b58\u503c\u7684\u6570\u636e\u7ed3\u6784\u3002 \u8bca\u65ad\u60a8\u7684\u7f13 &hellip; \u7ee7\u7eed\u9605\u8bfb\u6d4f\u89c8\u793a\u4f8b\u5e94\u7528\u7a0b\u5e8f\u5e76\u53d1\u73b0\u7f13\u5b58\u8bca\u65ad","og_url":"http:\/\/www.ponybai.com\/?p=2218","og_site_name":"\u767d\u767d\u968f\u7b14","article_published_time":"2019-09-20T12:41:00+00:00","og_image":[{"url":"https:\/\/res.cloudinary.com\/hy4kyit2a\/f_auto,fl_lossy,q_70\/learn\/modules\/platform_cache\/platform_cache_walkthrough\/images\/2fabf5b7990c8c143ad1150ab60e07bf_platform_cache_currency_exchange_app.jpg"}],"author":"ponybai","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"ponybai","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/www.ponybai.com\/?p=2218#article","isPartOf":{"@id":"http:\/\/www.ponybai.com\/?p=2218"},"author":{"name":"ponybai","@id":"http:\/\/www.ponybai.com\/#\/schema\/person\/935c7592c850c65e1e5eba4530dbf883"},"headline":"\u6d4f\u89c8\u793a\u4f8b\u5e94\u7528\u7a0b\u5e8f\u5e76\u53d1\u73b0\u7f13\u5b58\u8bca\u65ad","datePublished":"2019-09-20T12:41:00+00:00","dateModified":"2019-09-20T12:41:00+00:00","mainEntityOfPage":{"@id":"http:\/\/www.ponybai.com\/?p=2218"},"wordCount":108,"publisher":{"@id":"http:\/\/www.ponybai.com\/#\/schema\/person\/935c7592c850c65e1e5eba4530dbf883"},"articleSection":["Platform Cache"],"inLanguage":"zh-Hans"},{"@type":"WebPage","@id":"http:\/\/www.ponybai.com\/?p=2218","url":"http:\/\/www.ponybai.com\/?p=2218","name":"\u6d4f\u89c8\u793a\u4f8b\u5e94\u7528\u7a0b\u5e8f\u5e76\u53d1\u73b0\u7f13\u5b58\u8bca\u65ad - \u767d\u767d\u968f\u7b14","isPartOf":{"@id":"http:\/\/www.ponybai.com\/#website"},"datePublished":"2019-09-20T12:41:00+00:00","dateModified":"2019-09-20T12:41:00+00:00","breadcrumb":{"@id":"http:\/\/www.ponybai.com\/?p=2218#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["http:\/\/www.ponybai.com\/?p=2218"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/www.ponybai.com\/?p=2218#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"http:\/\/www.ponybai.com\/"},{"@type":"ListItem","position":2,"name":"\u6d4f\u89c8\u793a\u4f8b\u5e94\u7528\u7a0b\u5e8f\u5e76\u53d1\u73b0\u7f13\u5b58\u8bca\u65ad"}]},{"@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\/2218","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=2218"}],"version-history":[{"count":0,"href":"http:\/\/www.ponybai.com\/index.php?rest_route=\/wp\/v2\/posts\/2218\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.ponybai.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2218"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.ponybai.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2218"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.ponybai.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2218"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}