put 更新数据
PUT
/rbf/storedAndUseRrc/
请求参数
Body 参数application/json
数据实体,空字段不更新
id
integer | null
主键ID(雪花键)
createTime
string | null
创建时间
updateTime
string | null
最后更新时间
updateVersion
integer | null
乐观锁
createUserId
integer | null
创建人
默认值:
1
updateUserId
integer | null
最后更新人
默认值:
1
tenantId
integer | null
租户 ID
merchantId
integer | null
数商id
deviceId
integer | null
设备id
brandId
integer | null
品牌id
profitSharingRatioBeforeCostRecovery
number | null
回本前分成比例
shareRatioAfterCapitalRecovery
number | null
回本后分成比例
contractTime
string | null
合约时间
totalStoredValueAmount
number | null
储值总金额
示例
{
"id": 0,
"createTime": "string",
"updateTime": "string",
"updateVersion": 0,
"createUserId": "1",
"updateUserId": "1",
"tenantId": 0,
"merchantId": 0,
"deviceId": 0,
"brandId": 0,
"profitSharingRatioBeforeCostRecovery": 0,
"shareRatioAfterCapitalRecovery": 0,
"contractTime": "string",
"totalStoredValueAmount": 0
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request PUT 'http://gateway249.kiwismart.top/app/rbf/storedAndUseRrc/' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 0,
"createTime": "string",
"updateTime": "string",
"updateVersion": 0,
"createUserId": "1",
"updateUserId": "1",
"tenantId": 0,
"merchantId": 0,
"deviceId": 0,
"brandId": 0,
"profitSharingRatioBeforeCostRecovery": 0,
"shareRatioAfterCapitalRecovery": 0,
"contractTime": "string",
"totalStoredValueAmount": 0
}'
返回响应
🟢200成功
application/json
Body
返回更新的实体
code
integer | null
可选
msg
string | null
可选
data
object (StoredAndUseRrc)
返回更新的实体
id
integer | null
主键ID(雪花键)
createTime
string | null
创建时间
updateTime
string | null
最后更新时间
updateVersion
integer | null
乐观锁
createUserId
integer | null
创建人
默认值:
1
updateUserId
integer | null
最后更新人
默认值:
1
tenantId
integer | null
租户 ID
merchantId
integer | null
数商id
deviceId
integer | null
设备id
brandId
integer | null
品牌id
profitSharingRatioBeforeCostRecovery
number | null
回本前分成比例
shareRatioAfterCapitalRecovery
number | null
回本后分成比例
contractTime
string | null
合约时间
totalStoredValueAmount
number | null
储值总金额
示例
{
"code": 0,
"msg": "",
"data": {
"id": 0,
"createTime": "",
"updateTime": "",
"updateVersion": 0,
"createUserId": 0,
"updateUserId": 0,
"tenantId": 0,
"merchantId": 0,
"deviceId": 0,
"brandId": 0,
"profitSharingRatioBeforeCostRecovery": 0.0,
"shareRatioAfterCapitalRecovery": 0.0,
"contractTime": "",
"totalStoredValueAmount": 0.0
}
}
修改于 2024-12-23 08:35:47