{"id":38011,"date":"2025-05-19T14:13:31","date_gmt":"2025-05-19T06:13:31","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/38011.html"},"modified":"2025-05-19T14:13:31","modified_gmt":"2025-05-19T06:13:31","slug":"%e8%81%8a%e8%81%8ajetcache%e7%9a%84%e7%bc%93%e5%ad%98%e6%9e%84%e5%bb%ba","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/38011.html","title":{"rendered":"\u804a\u804aJetCache\u7684\u7f13\u5b58\u6784\u5efa"},"content":{"rendered":"<h2>\u5e8f<\/h2>\n<p>\u672c\u6587\u4e3b\u8981\u7814\u7a76\u4e00\u4e0bJetCache\u7684\u7f13\u5b58\u6784\u5efa<\/p>\n<h2>invokeWithCached<\/h2>\n<p>com\/alicp\/jetcache\/anno\/method\/CacheHandler.java<\/p>\n<p>    private static Object invokeWithCached(CacheInvokeContext context)<br \/>\n            throws Throwable {<br \/>\n        CacheInvokeConfig cic &#061; context.getCacheInvokeConfig();<br \/>\n        CachedAnnoConfig cac &#061; cic.getCachedAnnoConfig();<br \/>\n        Cache cache &#061; context.getCacheFunction().apply(context, cac);<br \/>\n        if (cache &#061;&#061; null) {<br \/>\n            logger.error(&#034;no cache with name: &#034; &#043; context.getMethod());<br \/>\n            return invokeOrigin(context);<br \/>\n        }<\/p>\n<p>        Object key &#061; ExpressionUtil.evalKey(context, cic.getCachedAnnoConfig());<br \/>\n        if (key &#061;&#061; null) {<br \/>\n            return loadAndCount(context, cache, key);<br \/>\n        }<\/p>\n<p>        if (!ExpressionUtil.evalCondition(context, cic.getCachedAnnoConfig())) {<br \/>\n            return loadAndCount(context, cache, key);<br \/>\n        }<\/p>\n<p>        try {<br \/>\n            CacheLoader loader &#061; new CacheLoader() {<br \/>\n                &#064;Override<br \/>\n                public Object load(Object k) throws Throwable {<br \/>\n                    Object result &#061; invokeOrigin(context);<br \/>\n                    context.setResult(result);<br \/>\n                    return result;<br \/>\n                }<\/p>\n<p>                &#064;Override<br \/>\n                public boolean vetoCacheUpdate() {<br \/>\n                    return !ExpressionUtil.evalPostCondition(context, cic.getCachedAnnoConfig());<br \/>\n                }<br \/>\n            };<br \/>\n            Object result &#061; cache.computeIfAbsent(key, loader);<br \/>\n            return result;<br \/>\n        } catch (CacheInvokeException e) {<br \/>\n            throw e.getCause();<br \/>\n        }<br \/>\n    }<\/p>\n<p>invokeWithCached\u5148\u901a\u8fc7context.getCacheFunction().apply(context, cac)\u53bb\u83b7\u53d6\u7f13\u5b58<\/p>\n<h2>setCacheFunction<\/h2>\n<p>com\/alicp\/jetcache\/anno\/support\/CacheContext.java<\/p>\n<p>    public CacheInvokeContext createCacheInvokeContext(ConfigMap configMap) {<br \/>\n        CacheInvokeContext c &#061; newCacheInvokeContext();<br \/>\n        c.setCacheFunction((invokeContext, cacheAnnoConfig) -&gt; {<br \/>\n            Cache cache &#061; cacheAnnoConfig.getCache();<br \/>\n            if (cache &#061;&#061; null) {<br \/>\n                if (cacheAnnoConfig instanceof CachedAnnoConfig) {<br \/>\n                    cache &#061; createCacheByCachedConfig((CachedAnnoConfig) cacheAnnoConfig, invokeContext);<br \/>\n                } else if ((cacheAnnoConfig instanceof CacheInvalidateAnnoConfig) || (cacheAnnoConfig instanceof CacheUpdateAnnoConfig)) {<br \/>\n                    CacheInvokeConfig cacheDefineConfig &#061; configMap.getByCacheName(cacheAnnoConfig.getArea(), cacheAnnoConfig.getName());<br \/>\n                    if (cacheDefineConfig &#061;&#061; null) {<br \/>\n                        String message &#061; &#034;can&#039;t find &#064;Cached definition with area&#061;&#034; &#043; cacheAnnoConfig.getArea()<br \/>\n                                &#043; &#034; name&#061;&#034; &#043; cacheAnnoConfig.getName() &#043;<br \/>\n                                &#034;, specified in &#034; &#043; cacheAnnoConfig.getDefineMethod();<br \/>\n                        CacheConfigException e &#061; new CacheConfigException(message);<br \/>\n                        logger.error(&#034;Cache operation aborted because can&#039;t find &#064;Cached definition&#034;, e);<br \/>\n                        return null;<br \/>\n                    }<br \/>\n                    cache &#061; createCacheByCachedConfig(cacheDefineConfig.getCachedAnnoConfig(), invokeContext);<br \/>\n                }<br \/>\n                cacheAnnoConfig.setCache(cache);<br \/>\n            }<br \/>\n            return cache;<br \/>\n        });<br \/>\n        return c;<br \/>\n    }<\/p>\n<p>createCacheInvokeContext\u8bbe\u7f6e\u4e86cacheFunction&#xff0c;\u4f7f\u7528\u4e86\u53cc\u91cd\u68c0\u9501\u53bb\u6784\u5efacache&#xff0c;\u5bf9\u4e8eCachedAnnoConfig\u662f\u8d70\u4e86createCacheByCachedConfig<\/p>\n<h2>createCacheByCachedConfig<\/h2>\n<p>com\/alicp\/jetcache\/anno\/support\/CacheContext.java<\/p>\n<p>    private Cache createCacheByCachedConfig(CachedAnnoConfig ac, CacheInvokeContext invokeContext) {<br \/>\n        String area &#061; ac.getArea();<br \/>\n        String cacheName &#061; ac.getName();<br \/>\n        if (CacheConsts.isUndefined(cacheName)) {<\/p>\n<p>            cacheName &#061; configProvider.createCacheNameGenerator(invokeContext.getHiddenPackages())<br \/>\n                    .generateCacheName(invokeContext.getMethod(), invokeContext.getTargetObject());<br \/>\n        }<br \/>\n        Cache cache &#061; __createOrGetCache(ac, area, cacheName);<br \/>\n        return cache;<br \/>\n    }<\/p>\n<p>    public Cache __createOrGetCache(CachedAnnoConfig cachedAnnoConfig, String area, String cacheName) {<br \/>\n        String fullCacheName &#061; area &#043; &#034;_&#034; &#043; cacheName;<br \/>\n        Cache cache &#061; cacheManager.getCacheWithoutCreate(area, cacheName);<br \/>\n        if (cache &#061;&#061; null) {<br \/>\n            synchronized (this) {<br \/>\n                cache &#061; cacheManager.getCacheWithoutCreate(area, cacheName);<br \/>\n                if (cache &#061;&#061; null) {<br \/>\n                    if (globalCacheConfig.isAreaInCacheName()) {<br \/>\n                        \/\/ for compatible reason, if we use default configuration, the prefix should same to that version &lt;&#061;2.4.3<br \/>\n                        cache &#061; buildCache(cachedAnnoConfig, area, fullCacheName);<br \/>\n                    } else {<br \/>\n                        cache &#061; buildCache(cachedAnnoConfig, area, cacheName);<br \/>\n                    }<br \/>\n                    cacheManager.putCache(area, cacheName, cache);<br \/>\n                }<br \/>\n            }<br \/>\n        }<br \/>\n        return cache;<br \/>\n    }    <\/p>\n<p>__createOrGetCache\u518d\u6b21\u4f7f\u7528\u53cc\u91cd\u68c0\u9501\u901a\u8fc7buildCache\u53bb\u6784\u5efaCache&#xff0c;\u9ed8\u8ba4globalCacheConfig.isAreaInCacheName()\u4e3afalse&#xff0c;\u6784\u5efa\u5b8c\u653e\u5165cacheManager<\/p>\n<h2>buildCache<\/h2>\n<p>com\/alicp\/jetcache\/anno\/support\/CacheContext.java<\/p>\n<p>    protected Cache buildCache(CachedAnnoConfig cachedAnnoConfig, String area, String cacheName) {<br \/>\n        Cache cache;<br \/>\n        if (cachedAnnoConfig.getCacheType() &#061;&#061; CacheType.LOCAL) {<br \/>\n            cache &#061; buildLocal(cachedAnnoConfig, area);<br \/>\n        } else if (cachedAnnoConfig.getCacheType() &#061;&#061; CacheType.REMOTE) {<br \/>\n            cache &#061; buildRemote(cachedAnnoConfig, area, cacheName);<br \/>\n        } else {<br \/>\n            Cache local &#061; buildLocal(cachedAnnoConfig, area);<br \/>\n            Cache remote &#061; buildRemote(cachedAnnoConfig, area, cacheName);<\/p>\n<p>            boolean useExpireOfSubCache &#061; cachedAnnoConfig.getLocalExpire() &gt; 0;<br \/>\n            cache &#061; MultiLevelCacheBuilder.createMultiLevelCacheBuilder()<br \/>\n                    .expireAfterWrite(remote.config().getExpireAfterWriteInMillis(), TimeUnit.MILLISECONDS)<br \/>\n                    .addCache(local, remote)<br \/>\n                    .useExpireOfSubCache(useExpireOfSubCache)<br \/>\n                    .cacheNullValue(cachedAnnoConfig.isCacheNullValue())<br \/>\n                    .buildCache();<br \/>\n        }<br \/>\n        cache.config().setRefreshPolicy(cachedAnnoConfig.getRefreshPolicy());<br \/>\n        cache &#061; new CacheHandler.CacheHandlerRefreshCache(cache);<\/p>\n<p>        cache.config().setCachePenetrationProtect(globalCacheConfig.isPenetrationProtect());<br \/>\n        PenetrationProtectConfig protectConfig &#061; cachedAnnoConfig.getPenetrationProtectConfig();<br \/>\n        if (protectConfig !&#061; null) {<br \/>\n            cache.config().setCachePenetrationProtect(protectConfig.isPenetrationProtect());<br \/>\n            cache.config().setPenetrationProtectTimeout(protectConfig.getPenetrationProtectTimeout());<br \/>\n        }<\/p>\n<p>        if (configProvider.getCacheMonitorManager() !&#061; null) {<br \/>\n            configProvider.getCacheMonitorManager().addMonitors(area, cacheName, cache);<br \/>\n        }<br \/>\n        return cache;<br \/>\n    }<\/p>\n<p>buildCache\u6839\u636eCacheType\u53bb\u6784\u5efa&#xff0c;\u5bf9\u4e8eREMOTE\u662f\u6267\u884cbuildRemote<\/p>\n<h2>buildRemote<\/h2>\n<p>    protected Cache buildRemote(CachedAnnoConfig cachedAnnoConfig, String area, String cacheName) {<br \/>\n        ExternalCacheBuilder cacheBuilder &#061; (ExternalCacheBuilder) globalCacheConfig.getRemoteCacheBuilders().get(area);<br \/>\n        if (cacheBuilder &#061;&#061; null) {<br \/>\n            throw new CacheConfigException(&#034;no remote cache builder: &#034; &#043; area);<br \/>\n        }<br \/>\n        cacheBuilder &#061; (ExternalCacheBuilder) cacheBuilder.clone();<\/p>\n<p>        if (cachedAnnoConfig.getExpire() &gt; 0 ) {<br \/>\n            cacheBuilder.expireAfterWrite(cachedAnnoConfig.getExpire(), cachedAnnoConfig.getTimeUnit());<br \/>\n        }<\/p>\n<p>        if (cacheBuilder.getConfig().getKeyPrefix() !&#061; null) {<br \/>\n            cacheBuilder.setKeyPrefix(cacheBuilder.getConfig().getKeyPrefix() &#043; cacheName);<br \/>\n        } else {<br \/>\n            cacheBuilder.setKeyPrefix(cacheName);<br \/>\n        }<\/p>\n<p>        if (!CacheConsts.isUndefined(cachedAnnoConfig.getKeyConvertor())) {<br \/>\n            cacheBuilder.setKeyConvertor(configProvider.parseKeyConvertor(cachedAnnoConfig.getKeyConvertor()));<br \/>\n        }<br \/>\n        if (!CacheConsts.isUndefined(cachedAnnoConfig.getSerialPolicy())) {<br \/>\n            cacheBuilder.setValueEncoder(configProvider.parseValueEncoder(cachedAnnoConfig.getSerialPolicy()));<br \/>\n            cacheBuilder.setValueDecoder(configProvider.parseValueDecoder(cachedAnnoConfig.getSerialPolicy()));<br \/>\n        }<br \/>\n        cacheBuilder.setCacheNullValue(cachedAnnoConfig.isCacheNullValue());<br \/>\n        return cacheBuilder.buildCache();<br \/>\n    }<\/p>\n<p>\u8fd9\u91cc\u83b7\u53d6remote\u7684cacheBuilder&#xff0c;\u8fdb\u884cclone&#xff0c;\u7136\u540e\u6839\u636ecachedAnnoConfig\u8fdb\u884c\u5c5e\u6027\u8986\u76d6&#xff0c;\u7136\u540e\u6267\u884ccacheBuilder.buildCache()\u6784\u5efa&#xff1b;\u8fd9\u91cckeyPrefix\u9ed8\u8ba4\u4e3anull&#xff0c;\u6240\u4ee5\u8fd9\u91cc\u7684keyPrefix\u4e3a\u4e0d\u5e26aera\u7684cacheName&#xff1b;ExternalCacheBuilder\u6709MockRemoteCacheBuilder\u3001RedisLettuceCacheBuilder\u4e24\u4e2a\u5b50\u7c7b\u3002<\/p>\n<h2>\u5c0f\u7ed3<\/h2>\n<p>JetCache\u5ef6\u8fdf\u6784\u5efaCache&#xff0c;\u901a\u8fc7CacheContext.buildCache\u6839\u636ecacheType\u8fdb\u884c\u6784\u5efa\u3002<\/p>\n<h2>doc<\/h2>\n<ul>\n<li>Builder<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb437\u6b21\uff0c\u70b9\u8d5e3\u6b21\uff0c\u6536\u85cf5\u6b21\u3002\u672c\u6587\u4e3b\u8981\u7814\u7a76\u4e00\u4e0bJetCache\u7684\u7f13\u5b58\u6784\u5efa\u3002<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[99,87,398],"topic":[],"class_list":["post-38011","post","type-post","status-publish","format-standard","hentry","category-server","tag-java","tag-87","tag-398"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u804a\u804aJetCache\u7684\u7f13\u5b58\u6784\u5efa - \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\/38011.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u804a\u804aJetCache\u7684\u7f13\u5b58\u6784\u5efa - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb437\u6b21\uff0c\u70b9\u8d5e3\u6b21\uff0c\u6536\u85cf5\u6b21\u3002\u672c\u6587\u4e3b\u8981\u7814\u7a76\u4e00\u4e0bJetCache\u7684\u7f13\u5b58\u6784\u5efa\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/38011.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:13:31+00:00\" \/>\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\/38011.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/38011.html\",\"name\":\"\u804a\u804aJetCache\u7684\u7f13\u5b58\u6784\u5efa - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-05-19T06:13:31+00:00\",\"dateModified\":\"2025-05-19T06:13:31+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/38011.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/38011.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/38011.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u804a\u804aJetCache\u7684\u7f13\u5b58\u6784\u5efa\"}]},{\"@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":"\u804a\u804aJetCache\u7684\u7f13\u5b58\u6784\u5efa - \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\/38011.html","og_locale":"zh_CN","og_type":"article","og_title":"\u804a\u804aJetCache\u7684\u7f13\u5b58\u6784\u5efa - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb437\u6b21\uff0c\u70b9\u8d5e3\u6b21\uff0c\u6536\u85cf5\u6b21\u3002\u672c\u6587\u4e3b\u8981\u7814\u7a76\u4e00\u4e0bJetCache\u7684\u7f13\u5b58\u6784\u5efa\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/38011.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-05-19T06:13:31+00:00","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\/38011.html","url":"https:\/\/www.wsisp.com\/helps\/38011.html","name":"\u804a\u804aJetCache\u7684\u7f13\u5b58\u6784\u5efa - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-05-19T06:13:31+00:00","dateModified":"2025-05-19T06:13:31+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/38011.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/38011.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/38011.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u804a\u804aJetCache\u7684\u7f13\u5b58\u6784\u5efa"}]},{"@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\/38011","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=38011"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/38011\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=38011"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=38011"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=38011"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=38011"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}