Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
willdesk_apiauto
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
29
Issues
29
List
Boards
Labels
Service Desk
Milestones
Merge Requests
29
Merge Requests
29
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
桦生 詹
willdesk_apiauto
Commits
e0f0f46c
Commit
e0f0f46c
authored
Jun 27, 2024
by
zhanhuasheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
兼容新版本
parent
9b72f226
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
44 deletions
+46
-44
YamlCase/FAQ/article_page_setting.yaml
YamlCase/FAQ/article_page_setting.yaml
+46
-44
No files found.
YamlCase/FAQ/article_page_setting.yaml
View file @
e0f0f46c
...
...
@@ -8,30 +8,31 @@ api1:
api2
:
title
:
检查FAQ页面设置是否更改成功
url
:
/api/v1/setting/getCShopSetting?domain=${shopDomain}
method
:
get
url
:
api/v1/setting/local/getShopSetting
method
:
post
data
:
{
"
v"
:
"
${v}"
}
expected
:
-
eq
:
{
"
$.code"
:
0
}
-
eq
:
{
"
$.data.settingInfo[?(@.itemId
==
85)].itemValue"
:
"
${newFont}"
}
-
eq
:
{
"
$.data.settingInfo[?(@.itemId
==
84)].itemValue"
:
"
${newStyle}"
}
-
eq
:
{
"
$.data.settingInfo[?(@.itemId
==
1)].itemValue"
:
"
${newTitle}"
}
-
eq
:
{
"
$.data.settingInfo[?(@.itemId
==
128)].itemValue"
:
"
${newTitleColor}"
}
-
eq
:
{
"
$.data.settingInfo[?(@.itemId
==
88)].itemValue"
:
"
${newActionColor}"
}
-
eq
:
{
"
$.data.settingInfo[?(@.itemId
==
132)].itemValue"
:
"
${newLogoColor}"
}
-
eq
:
{
"
$.data.settingInfo[?(@.itemId
==
133)].itemValue"
:
"
${newBackgroundColor}"
}
-
eq
:
{
"
$.data.settingInfo[?(@.itemId
==
134)].itemValue"
:
"
${newTypeFontColor}"
}
-
eq
:
{
"
$.data.settingInfo[?(@.itemId
==
141)].itemValue"
:
"
${newDisplayContactUs}"
}
-
eq
:
{
"
$.data.settingInfo[?(@.itemId
==
144)].itemValue"
:
"
${newFacebookSwitch}"
}
-
eq
:
{
"
$.data.settingInfo[?(@.itemId
==
146)].itemValue"
:
"
${newInsSwitch}"
}
-
eq
:
{
"
$.data.settingInfo[?(@.itemId
==
148)].itemValue"
:
"
${newTwitterSwitch}"
}
-
eq
:
{
"
$.data.settingInfo[?(@.itemId
==
150)].itemValue"
:
"
${newTranslateLanguage}"
}
-
eq
:
{
"
$.data.settingInfo[?(@.itemId
==
151)].itemValue"
:
"
${newSearchKeyword}"
}
-
eq
:
{
"
$.data.settingInfo[?(@.itemId
==
152)].itemValue"
:
"
${newSpecialArticleKeyword}"
}
-
eq
:
{
"
$.data.settingInfo[?(@.itemId
==
167)].itemValue"
:
"
${newTypeKeyword}"
}
-
eq
:
{
"
$.data.settingInfo[?(@.itemId
==
173)].itemValue"
:
"
${newFankuiKeyword}"
}
-
eq
:
{
"
$.data.settingInfo[?(@.itemId
==
156)].itemValue"
:
"
${NewContactUsContentKeyword}"
}
-
eq
:
{
"
$.data.settingInfo[?(@.itemId
==
157)].itemValue"
:
"
${newChatButtonKeyword}"
}
-
eq
:
{
"
$.data.settingInfo[?(@.itemId
==
158)].itemValue"
:
"
${newEmailButtonKeyword}"
}
-
eq
:
{
"
$.data.settingInfo
Map.mapList['${shopId}'].
[?(@.itemId
==
85)].itemValue"
:
"
${newFont}"
}
-
eq
:
{
"
$.data.settingInfo
Map.mapList['${shopId}'].
[?(@.itemId
==
84)].itemValue"
:
"
${newStyle}"
}
-
eq
:
{
"
$.data.settingInfo
Map.mapList['${shopId}'].
[?(@.itemId
==
1)].itemValue"
:
"
${newTitle}"
}
-
eq
:
{
"
$.data.settingInfo
Map.mapList['${shopId}'].
[?(@.itemId
==
128)].itemValue"
:
"
${newTitleColor}"
}
-
eq
:
{
"
$.data.settingInfo
Map.mapList['${shopId}'].
[?(@.itemId
==
88)].itemValue"
:
"
${newActionColor}"
}
-
eq
:
{
"
$.data.settingInfo
Map.mapList['${shopId}'].
[?(@.itemId
==
132)].itemValue"
:
"
${newLogoColor}"
}
-
eq
:
{
"
$.data.settingInfo
Map.mapList['${shopId}'].
[?(@.itemId
==
133)].itemValue"
:
"
${newBackgroundColor}"
}
-
eq
:
{
"
$.data.settingInfo
Map.mapList['${shopId}'].
[?(@.itemId
==
134)].itemValue"
:
"
${newTypeFontColor}"
}
-
eq
:
{
"
$.data.settingInfo
Map.mapList['${shopId}'].
[?(@.itemId
==
141)].itemValue"
:
"
${newDisplayContactUs}"
}
-
eq
:
{
"
$.data.settingInfo
Map.mapList['${shopId}'].
[?(@.itemId
==
144)].itemValue"
:
"
${newFacebookSwitch}"
}
-
eq
:
{
"
$.data.settingInfo
Map.mapList['${shopId}'].
[?(@.itemId
==
146)].itemValue"
:
"
${newInsSwitch}"
}
-
eq
:
{
"
$.data.settingInfo
Map.mapList['${shopId}'].
[?(@.itemId
==
148)].itemValue"
:
"
${newTwitterSwitch}"
}
-
eq
:
{
"
$.data.settingInfo
Map.mapList['${shopId}'].
[?(@.itemId
==
150)].itemValue"
:
"
${newTranslateLanguage}"
}
-
eq
:
{
"
$.data.settingInfo
Map.mapList['${shopId}'].
[?(@.itemId
==
151)].itemValue"
:
"
${newSearchKeyword}"
}
-
eq
:
{
"
$.data.settingInfo
Map.mapList['${shopId}'].
[?(@.itemId
==
152)].itemValue"
:
"
${newSpecialArticleKeyword}"
}
-
eq
:
{
"
$.data.settingInfo
Map.mapList['${shopId}'].
[?(@.itemId
==
167)].itemValue"
:
"
${newTypeKeyword}"
}
-
eq
:
{
"
$.data.settingInfo
Map.mapList['${shopId}'].
[?(@.itemId
==
173)].itemValue"
:
"
${newFankuiKeyword}"
}
-
eq
:
{
"
$.data.settingInfo
Map.mapList['${shopId}'].
[?(@.itemId
==
156)].itemValue"
:
"
${NewContactUsContentKeyword}"
}
-
eq
:
{
"
$.data.settingInfo
Map.mapList['${shopId}'].
[?(@.itemId
==
157)].itemValue"
:
"
${newChatButtonKeyword}"
}
-
eq
:
{
"
$.data.settingInfo
Map.mapList['${shopId}'].
[?(@.itemId
==
158)].itemValue"
:
"
${newEmailButtonKeyword}"
}
api3
:
title
:
还原FAQ页面设置
...
...
@@ -43,28 +44,29 @@ api3:
api4
:
title
:
检查FAQ页面设置是否还原成功
url
:
/api/v1/setting/getCShopSetting?domain=${shopDomain}
method
:
get
url
:
api/v1/setting/local/getShopSetting
method
:
post
data
:
{
"
v"
:
"
${v}"
}
expected
:
-
eq
:
{
"
$.code"
:
0
}
-
eq
:
{
"
$.data.settingInfo[?(@.itemId
==
85)].itemValue"
:
"
${oldFont}"
}
-
eq
:
{
"
$.data.settingInfo[?(@.itemId
==
84)].itemValue"
:
"
${oldStyle}"
}
-
eq
:
{
"
$.data.settingInfo[?(@.itemId
==
1)].itemValue"
:
"
${oldTitle}"
}
-
eq
:
{
"
$.data.settingInfo[?(@.itemId
==
128)].itemValue"
:
"
${oldTitleColor}"
}
-
eq
:
{
"
$.data.settingInfo[?(@.itemId
==
88)].itemValue"
:
"
${oldActionColor}"
}
-
eq
:
{
"
$.data.settingInfo[?(@.itemId
==
132)].itemValue"
:
"
${oldLogoColor}"
}
-
eq
:
{
"
$.data.settingInfo[?(@.itemId
==
133)].itemValue"
:
"
${oldBackgroundColor}"
}
-
eq
:
{
"
$.data.settingInfo[?(@.itemId
==
134)].itemValue"
:
"
${oldTypeFontColor}"
}
-
eq
:
{
"
$.data.settingInfo[?(@.itemId
==
141)].itemValue"
:
"
${oldDisplayContactUs}"
}
-
eq
:
{
"
$.data.settingInfo[?(@.itemId
==
144)].itemValue"
:
"
${oldFacebookSwitch}"
}
-
eq
:
{
"
$.data.settingInfo[?(@.itemId
==
146)].itemValue"
:
"
${oldInsSwitch}"
}
-
eq
:
{
"
$.data.settingInfo[?(@.itemId
==
148)].itemValue"
:
"
${oldTwitterSwitch}"
}
-
eq
:
{
"
$.data.settingInfo[?(@.itemId
==
150)].itemValue"
:
"
${oldTranslateLanguage}"
}
-
eq
:
{
"
$.data.settingInfo[?(@.itemId
==
151)].itemValue"
:
"
${oldSearchKeyword}"
}
-
eq
:
{
"
$.data.settingInfo[?(@.itemId
==
152)].itemValue"
:
"
${oldSpecialArticleKeyword}"
}
-
eq
:
{
"
$.data.settingInfo[?(@.itemId
==
167)].itemValue"
:
"
${oldTypeKeyword}"
}
-
eq
:
{
"
$.data.settingInfo[?(@.itemId
==
173)].itemValue"
:
"
${oldFankuiKeyword}"
}
-
eq
:
{
"
$.data.settingInfo[?(@.itemId
==
156)].itemValue"
:
"
${oldContactUsContentKeyword}"
}
-
eq
:
{
"
$.data.settingInfo[?(@.itemId
==
157)].itemValue"
:
"
${oldChatButtonKeyword}"
}
-
eq
:
{
"
$.data.settingInfo[?(@.itemId
==
158)].itemValue"
:
"
${oldEmailButtonKeyword}"
}
-
eq
:
{
"
$.data.settingInfo
Map.mapList['${shopId}'].
[?(@.itemId
==
85)].itemValue"
:
"
${oldFont}"
}
-
eq
:
{
"
$.data.settingInfo
Map.mapList['${shopId}'].
[?(@.itemId
==
84)].itemValue"
:
"
${oldStyle}"
}
-
eq
:
{
"
$.data.settingInfo
Map.mapList['${shopId}'].
[?(@.itemId
==
1)].itemValue"
:
"
${oldTitle}"
}
-
eq
:
{
"
$.data.settingInfo
Map.mapList['${shopId}'].
[?(@.itemId
==
128)].itemValue"
:
"
${oldTitleColor}"
}
-
eq
:
{
"
$.data.settingInfo
Map.mapList['${shopId}'].
[?(@.itemId
==
88)].itemValue"
:
"
${oldActionColor}"
}
-
eq
:
{
"
$.data.settingInfo
Map.mapList['${shopId}'].
[?(@.itemId
==
132)].itemValue"
:
"
${oldLogoColor}"
}
-
eq
:
{
"
$.data.settingInfo
Map.mapList['${shopId}'].
[?(@.itemId
==
133)].itemValue"
:
"
${oldBackgroundColor}"
}
-
eq
:
{
"
$.data.settingInfo
Map.mapList['${shopId}'].
[?(@.itemId
==
134)].itemValue"
:
"
${oldTypeFontColor}"
}
-
eq
:
{
"
$.data.settingInfo
Map.mapList['${shopId}'].
[?(@.itemId
==
141)].itemValue"
:
"
${oldDisplayContactUs}"
}
-
eq
:
{
"
$.data.settingInfo
Map.mapList['${shopId}'].
[?(@.itemId
==
144)].itemValue"
:
"
${oldFacebookSwitch}"
}
-
eq
:
{
"
$.data.settingInfo
Map.mapList['${shopId}'].
[?(@.itemId
==
146)].itemValue"
:
"
${oldInsSwitch}"
}
-
eq
:
{
"
$.data.settingInfo
Map.mapList['${shopId}'].
[?(@.itemId
==
148)].itemValue"
:
"
${oldTwitterSwitch}"
}
-
eq
:
{
"
$.data.settingInfo
Map.mapList['${shopId}'].
[?(@.itemId
==
150)].itemValue"
:
"
${oldTranslateLanguage}"
}
-
eq
:
{
"
$.data.settingInfo
Map.mapList['${shopId}'].
[?(@.itemId
==
151)].itemValue"
:
"
${oldSearchKeyword}"
}
-
eq
:
{
"
$.data.settingInfo
Map.mapList['${shopId}'].
[?(@.itemId
==
152)].itemValue"
:
"
${oldSpecialArticleKeyword}"
}
-
eq
:
{
"
$.data.settingInfo
Map.mapList['${shopId}'].
[?(@.itemId
==
167)].itemValue"
:
"
${oldTypeKeyword}"
}
-
eq
:
{
"
$.data.settingInfo
Map.mapList['${shopId}'].
[?(@.itemId
==
173)].itemValue"
:
"
${oldFankuiKeyword}"
}
-
eq
:
{
"
$.data.settingInfo
Map.mapList['${shopId}'].
[?(@.itemId
==
156)].itemValue"
:
"
${oldContactUsContentKeyword}"
}
-
eq
:
{
"
$.data.settingInfo
Map.mapList['${shopId}'].
[?(@.itemId
==
157)].itemValue"
:
"
${oldChatButtonKeyword}"
}
-
eq
:
{
"
$.data.settingInfo
Map.mapList['${shopId}'].
[?(@.itemId
==
158)].itemValue"
:
"
${oldEmailButtonKeyword}"
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment