memberPanelStyle
query
接口访问需要令牌,具体如何获取令牌请参考:身份认证
查询店铺内会员组件的颜色样式。
Return
组件按钮颜色
组件按钮字体颜色
页头背景图
页头背景颜色
组件图标颜色
组件字体是否应用主题正文字体
组件链接颜色
链接自定义颜色
组件中是否展示店铺logo
主题颜色_主色
主题颜色_次色
风格
错误码
关于更多通用错误码说明,参考:状态码和错误码。
Example
查询店铺会员组件样式
Code
query {
memberPanelStyle {
secondary
headerColor
btnTextColor
linkCustomColor
iconColor
btnColor
headerBgType
isFollowHostFont
style
linkColor
logoVisible
primary
}
}
Response
{
"extensions": {
"dataloader": {
"individual-statistics": {
"LD-com.shopline.pixiu.pcq.storefront.api.ProductStorefrontQueryV2Service-variants": {
"batchLoadExceptionCount": 0,
"batchLoadExceptionRatio": 0,
"batchLoadRatio": 0,
"loadErrorCount": 0,
"loadErrorRatio": 0,
"batchInvokeCount": 0,
"batchLoadCount": 0,
"cacheHitCount": 0,
"cacheHitRatio": 0,
"loadCount": 0
},
"LD-com.shopline.pixiu.pcq.storefront.api.ProductStorefrontQueryV2Service-variantsForLoader": {
"batchInvokeCount": 0,
"batchLoadCount": 0,
"batchLoadRatio": 0,
"cacheHitCount": 0,
"cacheHitRatio": 0,
"batchLoadExceptionCount": 0,
"batchLoadExceptionRatio": 0,
"loadCount": 0,
"loadErrorCount": 0,
"loadErrorRatio": 0
},
"LD-com.shopline.merchant.website.openapi.interfaces.OnlineStorefrontApi-commentsQuery": {
"batchInvokeCount": 0,
"batchLoadExceptionCount": 0,
"batchLoadRatio": 0,
"cacheHitCount": 0,
"cacheHitRatio": 0,
"loadCount": 0,
"loadErrorCount": 0,
"loadErrorRatio": 0,
"batchLoadCount": 0,
"batchLoadExceptionRatio": 0
},
"LD-com.shopline.pixiu.pcq.storefront.api.CollectionStorefrontQueryService-onlineStoreUrl": {
"batchLoadRatio": 0,
"cacheHitCount": 0,
"cacheHitRatio": 0,
"loadErrorRatio": 0,
"batchInvokeCount": 0,
"batchLoadCount": 0,
"batchLoadExceptionCount": 0,
"batchLoadExceptionRatio": 0,
"loadCount": 0,
"loadErrorCount": 0
},
"LD-com.shopline.pixiu.pcq.storefront.api.CollectionStorefrontQueryService-queryCollectionByProduct": {
"batchInvokeCount": 0,
"batchLoadExceptionCount": 0,
"batchLoadExceptionRatio": 0,
"cacheHitRatio": 0,
"loadCount": 0,
"loadErrorCount": 0,
"batchLoadCount": 0,
"batchLoadRatio": 0,
"cacheHitCount": 0,
"loadErrorRatio": 0
},
"LD-com.shopline.pixiu.pcq.storefront.api.ProductStorefrontQueryV2Service-onlineStoreUrl": {
"batchLoadExceptionCount": 0,
"batchLoadExceptionRatio": 0,
"batchLoadRatio": 0,
"cacheHitCount": 0,
"cacheHitRatio": 0,
"loadErrorRatio": 0,
"batchInvokeCount": 0,
"batchLoadCount": 0,
"loadCount": 0,
"loadErrorCount": 0
},
"LD-com.shopline.pixiu.pcq.storefront.api.DescriptionQueryService-query": {
"batchInvokeCount": 0,
"batchLoadRatio": 0,
"cacheHitCount": 0,
"loadCount": 0,
"loadErrorCount": 0,
"batchLoadCount": 0,
"batchLoadExceptionCount": 0,
"batchLoadExceptionRatio": 0,
"cacheHitRatio": 0,
"loadErrorRatio": 0
},
"LD-com.shopline.pixiu.pcq.storefront.api.ProductStorefrontQueryV2Service-images": {
"batchLoadCount": 0,
"batchLoadExceptionCount": 0,
"cacheHitRatio": 0,
"batchInvokeCount": 0,
"batchLoadExceptionRatio": 0,
"batchLoadRatio": 0,
"cacheHitCount": 0,
"loadCount": 0,
"loadErrorCount": 0,
"loadErrorRatio": 0
},
"LD-com.shopline.pixiu.pcq.storefront.api.ProductStorefrontQueryV2Service-options": {
"batchLoadExceptionCount": 0,
"batchLoadExceptionRatio": 0,
"batchLoadRatio": 0,
"cacheHitCount": 0,
"cacheHitRatio": 0,
"loadCount": 0,
"loadErrorCount": 0,
"loadErrorRatio": 0,
"batchInvokeCount": 0,
"batchLoadCount": 0
},
"LD-com.shopline.pixiu.pcq.storefront.api.ProductStorefrontQueryV2Service-publishedAtForLoader": {
"cacheHitCount": 0,
"loadCount": 0,
"batchInvokeCount": 0,
"batchLoadCount": 0,
"batchLoadExceptionCount": 0,
"batchLoadExceptionRatio": 0,
"cacheHitRatio": 0,
"loadErrorCount": 0,
"loadErrorRatio": 0,
"batchLoadRatio": 0
},
"LD-com.shopline.pixiu.pcq.storefront.api.ProductStorefrontQueryV2Service-template": {
"batchInvokeCount": 0,
"batchLoadCount": 0,
"batchLoadExceptionRatio": 0,
"cacheHitCount": 0,
"cacheHitRatio": 0,
"batchLoadExceptionCount": 0,
"batchLoadRatio": 0,
"loadCount": 0,
"loadErrorCount": 0,
"loadErrorRatio": 0
}
},
"overall-statistics": {
"batchInvokeCount": 0,
"batchLoadCount": 0,
"batchLoadExceptionCount": 0,
"loadErrorRatio": 0,
"batchLoadExceptionRatio": 0,
"batchLoadRatio": 0,
"cacheHitCount": 0,
"cacheHitRatio": 0,
"loadCount": 0,
"loadErrorCount": 0
}
},
"metrics": {
"dataFetcherMetrics": [
{
"dfProtocol": "dubbo",
"dfRootCoordinate": "/memberPanelStyle",
"dfRt": 7,
"dfServiceIdentity": "com.shopline.ec.openapi.interfaces.MemberStoreFrontApi@storeStyleInfoQuery",
"dfStartTime": 1721889653188,
"dfErrorCode": null
}
],
"graphQLMetrics": {
"fieldCount": 25,
"countryCode": null,
"errorFieldsCount": 0,
"executionId": "2efb8472-22dd-4f8e-acaa-11c8e9078320",
"rt": 10,
"startTimeMillis": 1721889653185,
"includeQuery": false,
"ratelimitRemaining": 1,
"saleChannel": null,
"storePlus": false,
"tenant": "ec20",
"traceId": "edd0ae040f9e23bb24881d02b11623e9",
"customizedClientIp": "218.253.130.212",
"includeDeprecatedField": false,
"operation": "QUERY",
"ratelimitPermits": 1,
"storeId": "1641993455937",
"parseRt": 1,
"successType": "SUCCESS",
"languageCode": null,
"loaderCount": 0,
"startParseTimeMillis": 1721889653185,
"deepLevel": 2,
"merchantId": "4200114610",
"namespace": "storefront",
"version": "v20241201",
"appId": "265337",
"appKey": "936eda168305ed82cee702c6822354ee6de2e802",
"clientIp": "218.253.130.212",
"endParseTimeMillis": 1721889653186
}
},
"tracing": {
"version": 1,
"duration": 10061268,
"endTime": "2024-07-25T06:40:53.195Z",
"execution": {
"resolvers": [
{
"startOffset": 1852684,
"duration": 7846840,
"fieldName": "memberPanelStyle",
"parentType": "Query",
"path": [
"memberPanelStyle"
],
"returnType": "MemberPanelStyle"
},
{
"duration": 7824,
"fieldName": "secondary",
"parentType": "MemberPanelStyle",
"path": [
"memberPanelStyle",
"secondary"
],
"returnType": "String",
"startOffset": 9808998
},
{
"parentType": "MemberPanelStyle",
"path": [
"memberPanelStyle",
"headerColor"
],
"returnType": "String",
"startOffset": 9836958,
"duration": 2400,
"fieldName": "headerColor"
},
{
"duration": 1905,
"fieldName": "btnTextColor",
"parentType": "MemberPanelStyle",
"path": [
"memberPanelStyle",
"btnTextColor"
],
"returnType": "String",
"startOffset": 9850654
},
{
"returnType": "String",
"startOffset": 9862951,
"duration": 2037,
"fieldName": "linkCustomColor",
"parentType": "MemberPanelStyle",
"path": [
"memberPanelStyle",
"linkCustomColor"
]
},
{
"returnType": "String",
"startOffset": 9876237,
"duration": 1984,
"fieldName": "iconColor",
"parentType": "MemberPanelStyle",
"path": [
"memberPanelStyle",
"iconColor"
]
},
{
"duration": 1924,
"fieldName": "btnColor",
"parentType": "MemberPanelStyle",
"path": [
"memberPanelStyle",
"btnColor"
],
"returnType": "String",
"startOffset": 9888594
},
{
"duration": 1835,
"fieldName": "headerBgType",
"parentType": "MemberPanelStyle",
"path": [
"memberPanelStyle",
"headerBgType"
],
"returnType": "String",
"startOffset": 9904236
},
{
"startOffset": 9916266,
"duration": 1971,
"fieldName": "isFollowHostFont",
"parentType": "MemberPanelStyle",
"path": [
"memberPanelStyle",
"isFollowHostFont"
],
"returnType": "Boolean"
},
{
"duration": 2124,
"fieldName": "style",
"parentType": "MemberPanelStyle",
"path": [
"memberPanelStyle",
"style"
],
"returnType": "String",
"startOffset": 9930084
},
{
"startOffset": 9942285,
"duration": 1808,
"fieldName": "linkColor",
"parentType": "MemberPanelStyle",
"path": [
"memberPanelStyle",
"linkColor"
],
"returnType": "String"
},
{
"duration": 1804,
"fieldName": "logoVisible",
"parentType": "MemberPanelStyle",
"path": [
"memberPanelStyle",
"logoVisible"
],
"returnType": "Boolean",
"startOffset": 9953994
},
{
"startOffset": 9966101,
"duration": 1938,
"fieldName": "primary",
"parentType": "MemberPanelStyle",
"path": [
"memberPanelStyle",
"primary"
],
"returnType": "String"
}
]
},
"parsing": {
"duration": 239198,
"startOffset": 269881
},
"startTime": "2024-07-25T06:40:53.185Z",
"validation": {
"duration": 284387,
"startOffset": 657341
}
}
},
"data": {
"memberPanelStyle": {
"btnTextColor": "#1F1E1E",
"headerColor": "#1F1E1E",
"isFollowHostFont": true,
"linkColor": "secondary",
"secondary": "#44d7b6",
"btnColor": "primary",
"headerBgType": "primary",
"iconColor": "secondary",
"linkCustomColor": null,
"logoVisible": false,
"primary": "#F9D6A5",
"style": "light"
}
}
}
这篇文章对你有帮助吗?