Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jiaoyou_doc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李进峰
jiaoyou_doc
Commits
6ff747fb
Commit
6ff747fb
authored
Dec 14, 2023
by
jixudong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace 项目列表-变量.md
parent
6bf8817d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
95 additions
and
95 deletions
+95
-95
项目列表-变量.md
gameditor/前端接口/项目列表-变量.md
+95
-95
No files found.
gameditor/前端接口/项目列表-变量.md
View file @
6ff747fb
**测试环
境URL**
:http://tx-gz14.heyqiwu.cn
**测试环
境URL**
:http://tx-gz14.heyqiwu.cn
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
[
TOC
]
[
TOC
]
### 获取所有变量
视图对象
### 获取所有变量
**METHOD**
: GET
**METHOD**
: GET
...
@@ -15,8 +15,8 @@
...
@@ -15,8 +15,8 @@
#### 请求param字段说明
#### 请求param字段说明
| key | type | required | description |
| key | type | required | description |
| --------- | ---- | -------- | ----------- |
| --------- | ----
--
| -------- | ----------- |
| projectId |
| yes | 项目id |
| projectId |
number
| yes | 项目id |
#### 请求body字段说明
#### 请求body字段说明
...
@@ -69,7 +69,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/global_attr/?projectId=1' \
...
@@ -69,7 +69,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/global_attr/?projectId=1' \
}
}
```
```
### 搜索变量
视图对象
### 搜索变量
**METHOD**
: POST
**METHOD**
: POST
...
@@ -80,9 +80,9 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/global_attr/?projectId=1' \
...
@@ -80,9 +80,9 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/global_attr/?projectId=1' \
#### 请求param字段说明
#### 请求param字段说明
| key | type | required | description |
| key | type | required | description |
| ---------- | ---- | -------- | ------------------ |
| ---------- | ----
--
| -------- | ------------------ |
| projectId |
| yes | 项目id |
| projectId |
number
| yes | 项目id |
| searchText |
| no | 搜索文本,变量名称 |
| searchText |
string
| no | 搜索文本,变量名称 |
#### 请求body字段说明
#### 请求body字段说明
...
@@ -148,14 +148,14 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/global_attr/search/?projectI
...
@@ -148,14 +148,14 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/global_attr/search/?projectI
#### 请求path字段说明
#### 请求path字段说明
| key | type | required | description |
| key | type | required | description |
| ------------ | ---- | -------- | ----------- |
| ------------ | ----
--
| -------- | ----------- |
| globalAttrId |
| yes | 变量ID |
| globalAttrId |
number
| yes | 变量ID |
#### 请求param字段说明
#### 请求param字段说明
| key | type | required | description |
| key | type | required | description |
| --------- | ---- | -------- | ----------- |
| --------- | ----
--
| -------- | ----------- |
| projectId |
| yes | 项目ID |
| projectId |
number
| yes | 项目ID |
#### 请求body字段说明
#### 请求body字段说明
...
@@ -204,8 +204,8 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/global_attr/574713/?projectI
...
@@ -204,8 +204,8 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/global_attr/574713/?projectI
#### 请求path字段说明
#### 请求path字段说明
| key | type | required | description |
| key | type | required | description |
| ---- | ---- | -------- | ----------- |
| ---- | ----
--
| -------- | ----------- |
| id |
| yes | 变量ID |
| id |
number
| yes | 变量ID |
#### 请求param字段说明
#### 请求param字段说明
...
@@ -216,67 +216,67 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/global_attr/574713/?projectI
...
@@ -216,67 +216,67 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/global_attr/574713/?projectI
#### 请求body字段说明
#### 请求body字段说明
| key | type | required | description |
| key | type | required | description |
| ----------------- | ---- | -------- | -------------------------- |
| ----------------- | ----
---
| -------- | -------------------------- |
| share |
| yes | 是否是全局变量 |
| share |
boolean
| yes | 是否是全局变量 |
| append |
| yes | 是否有累加属性 |
| append |
boolean
| yes | 是否有累加属性 |
| inPostUrl |
| no | 是否提交表单 |
| inPostUrl |
boolean
| no | 是否提交表单 |
| dynamicRightValue |
| yes | 动态左值,更新变量时候使用 |
| dynamicRightValue |
boolean
| yes | 动态左值,更新变量时候使用 |
| id |
| yes | 变量ID |
| id |
number
| yes | 变量ID |
| name |
| yes | 变量名称 |
| name |
string
| yes | 变量名称 |
| intro |
| yes | 变量的介绍 |
| intro |
string
| yes | 变量的介绍 |
| value |
| no | 变量的值 |
| value |
string
| no | 变量的值 |
| isBase |
| yes | 是否是基本变量 |
| isBase |
boolean
| yes | 是否是基本变量 |
| restartInit |
| yes | 重启是否初始化 |
| restartInit |
boolean
| yes | 重启是否初始化 |
| nickname |
| no | 变量别名 |
| nickname |
string
| no | 变量别名 |
| projectId |
| yes | 项目id |
| projectId |
number
| yes | 项目id |
| optionalAttribute |
| yes | 变量属性 |
| optionalAttribute |
string
| yes | 变量属性 |
| extra |
| no | 其他关于变量的配置 |
| extra |
object
| no | 其他关于变量的配置 |
optionalAttribute值说明
optionalAttribute值说明
| key | type | description |
| key | type | description |
| --------------- | ---- | ----------- |
| --------------- | ----
--
| ----------- |
| istime |
| 时间 |
| istime |
string
| 时间 |
| changeByChannel |
| 渠道 |
| changeByChannel |
string
| 渠道 |
| pay |
| 付费 |
| pay |
string
| 付费 |
extra值说明
extra值说明
| key | type | description |
| key | type | description |
| --------------- | ---- | ----------- |
| --------------- | ----
--
| ----------- |
| time |
| 时间 |
| time |
string
| 时间 |
| changeByChannel |
| 渠道 |
| changeByChannel |
string
| 渠道 |
| pay |
| 付费 |
| pay |
string
| 付费 |
time值说明
time值说明
| key | type | description |
| key | type | description |
| ------------ | ---- | ------------ |
| ------------ | ----
--
| ------------ |
| timeInterval |
| 时间间隔 |
| timeInterval |
string
| 时间间隔 |
| unitOfTime |
| 时间间隔单位 |
| unitOfTime |
string
| 时间间隔单位 |
| operator |
| 变量值操作 |
| operator |
string
| 变量值操作 |
| value |
| 变量值 |
| value |
string
| 变量值 |
| maxValue |
| 变量最大值 |
| maxValue |
string
| 变量最大值 |
| minValue |
| 变量最小值 |
| minValue |
string
| 变量最小值 |
changeByChannel值说明
changeByChannel值说明
| key | type | description |
| key | type | description |
| -------------- | ---- | ----------- |
| -------------- | ----
--
| ----------- |
| appChannelId |
| app渠道id |
| appChannelId |
string
| app渠道id |
| appChannelName |
| app渠道名称 |
| appChannelName |
string
| app渠道名称 |
| channelId |
| 渠道id |
| channelId |
string
| 渠道id |
| value |
| 变量值 |
| value |
string
| 变量值 |
pay值说明
pay值说明
| key | type | description |
| key | type | description |
| --------- | ---- | ----------- |
| --------- | ----
--
| ----------- |
| controlId |
| 付费控制点 |
| controlId |
string
| 付费控制点 |
| comment |
| 付费注释 |
| comment |
string
| 付费注释 |
| channels |
| 渠道列表 |
| channels |
string
| 渠道列表 |
| channelId |
| 渠道id |
| channelId |
string
| 渠道id |
| price |
| 价格 |
| price |
string
| 价格 |
#### 请求示例
#### 请求示例
...
@@ -333,66 +333,66 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/global_attr/521255/' \
...
@@ -333,66 +333,66 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/global_attr/521255/' \
#### 请求body字段说明
#### 请求body字段说明
| key | type | required | description |
| key | type | required | description |
| ----------------- | ---- | -------- | -------------------------- |
| ----------------- | ----
---
| -------- | -------------------------- |
| share |
| yes | 是否是全局变量 |
| share |
boolean
| yes | 是否是全局变量 |
| append |
| yes | 是否有累加属性 |
| append |
boolean
| yes | 是否有累加属性 |
| inPostUrl |
| yes | 是否提交表单 |
| inPostUrl |
boolean
| yes | 是否提交表单 |
| dynamicRightValue |
| yes | 动态左值,更新变量时候使用 |
| dynamicRightValue |
boolean
| yes | 动态左值,更新变量时候使用 |
| name |
| yes | 变量名称 |
| name |
string
| yes | 变量名称 |
| intro |
| no | 变量的介绍 |
| intro |
string
| no | 变量的介绍 |
| value |
| no | 变量的值 |
| value |
string
| no | 变量的值 |
| isBase |
| yes | 是否是基本变量 |
| isBase |
boolean
| yes | 是否是基本变量 |
| restartInit |
| yes | 重启是否初始化 |
| restartInit |
boolean
| yes | 重启是否初始化 |
| nickname |
| no | 变量别名 |
| nickname |
string
| no | 变量别名 |
| projectId |
| yes | 项目id |
| projectId |
number
| yes | 项目id |
| optionalAttribute |
| yes | 变量属性 |
| optionalAttribute |
string
| yes | 变量属性 |
| extra |
| no | 其他关于变量的配置 |
| extra |
object
| no | 其他关于变量的配置 |
optionalAttribute值说明
optionalAttribute值说明
| key | type | description |
| key | type | description |
| --------------- | ---- | ----------- |
| --------------- | ----
--
| ----------- |
| istime |
| 时间 |
| istime |
string
| 时间 |
| changeByChannel |
| 渠道 |
| changeByChannel |
string
| 渠道 |
| pay |
| 付费 |
| pay |
string
| 付费 |
extra值说明
extra值说明
| key | type | description |
| key | type | description |
| --------------- | ---- | ----------- |
| --------------- | ----
--
| ----------- |
| time |
| 时间 |
| time |
string
| 时间 |
| changeByChannel |
| 渠道 |
| changeByChannel |
string
| 渠道 |
| pay |
| 付费 |
| pay |
string
| 付费 |
time值说明
time值说明
| key | type | description |
| key | type | description |
| ------------ | ---- | ------------ |
| ------------ | ----
--
| ------------ |
| timeInterval |
| 时间间隔 |
| timeInterval |
string
| 时间间隔 |
| unitOfTime |
| 时间间隔单位 |
| unitOfTime |
string
| 时间间隔单位 |
| operator |
| 变量值操作 |
| operator |
string
| 变量值操作 |
| value |
| 变量值 |
| value |
string
| 变量值 |
| maxValue |
| 变量最大值 |
| maxValue |
string
| 变量最大值 |
| minValue |
| 变量最小值 |
| minValue |
string
| 变量最小值 |
changeByChannel值说明
changeByChannel值说明
| key | type | description |
| key | type | description |
| -------------- | ---- | ----------- |
| -------------- | ----
--
| ----------- |
| appChannelId |
| app渠道id |
| appChannelId |
string
| app渠道id |
| appChannelName |
| app渠道名称 |
| appChannelName |
string
| app渠道名称 |
| channelId |
| 渠道id |
| channelId |
string
| 渠道id |
| value |
| 变量值 |
| value |
string
| 变量值 |
pay值说明
pay值说明
| key | type | description |
| key | type | description |
| --------- | ---- | ----------- |
| --------- | ----
--
| ----------- |
| controlId |
| 付费控制点 |
| controlId |
string
| 付费控制点 |
| comment |
| 付费注释 |
| comment |
string
| 付费注释 |
| channels |
| 渠道列表 |
| channels |
string
| 渠道列表 |
| channelId |
| 渠道id |
| channelId |
string
| 渠道id |
| price |
| 价格 |
| price |
string
| 价格 |
#### 请求示例
#### 请求示例
...
...
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