Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
rap
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
quwei
rap
Commits
b8c5e885
Commit
b8c5e885
authored
Apr 20, 2026
by
quwei
🤸🏼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upload New File
parent
061d2cd4
Pipeline
#3681
canceled with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
95 additions
and
0 deletions
+95
-0
新增权益项.md
tboss-web-api/MemberBenefitController/新增权益项.md
+95
-0
No files found.
tboss-web-api/MemberBenefitController/新增权益项.md
0 → 100644
View file @
b8c5e885
# 新增权益项
> URL: http://localhost:13021/jac/accumulate/memberBenefit/add
>
> Origin Url: http://localhost:13021/jac/accumulate/memberBenefit/add
>
> Type: POST
### Request headers
|Header Name| Header Value|
|---------|------|
|Token|5bf30e459b854767b243906e4df74b56|
### Parameters
##### Path parameters
| Parameter | Type | Value | Description |
|---------|------|------|------------|
##### URL parameters
|Required| Parameter | Type | Value | Description |
|---------|---------|------|------|------------|
##### Body parameters
###### JSON
```
{
"name": "生日礼二",
"iconUrl": "http://sy.esvtek.com:15001/file/download/direct/12B46A0CE25B67A3C423CF7BB3C7CDAA3B6BA8DBBB1399CB58816FA88CDFDA52F4EDBCFCC3CEE08B2BBAE320D736EB26",
"intro": "生日当月可领",
"description": "详细说明……",
"buttonType": 2,
"buttonLink": "/integral/medal-config",
"status": 0
}
```
###### JSON document
```
{
"buttonType":"按钮类型:0无 1去升级 2去兑换;非0时 buttonLink 必填",
"intro":"权益简介,非必填,最多50字",
"buttonLink":"按钮跳转链接;buttonType 为 1 或 2 时必填",
"name":"权益名称,最多5个字",
"description":"权益说明,必填,最多200字",
"id":"主键,编辑时必填",
"iconUrl":"权益图标 URL(可先上传文件接口获取)",
"status":"状态:0启用 1禁用;新增默认0"
}
```
##### Form URL-Encoded
|Required| Parameter | Type | Value | Description |
|---------|---------|------|------|------------|
##### Multipart
|Required | Parameter | Type | Value | Description |
|---------|---------|------|------|------------|
### Response
##### Response example
```
{
"resultCode": 200,
"message": "新建成功",
"traceId": "2a34d428404217f6",
"data": null
}
```
##### Response document
```
{
"traceId":"接口响应ID",
"data":{},
"resultCode":"状态码",
"message":"状态码对应的信息"
}
```
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