请求方式 POST 请求路径 api/Coustmer/InsertMessage
新增商城消息
URI 参数说明
None.
Json字符串 参数说明:Body Data
ShopMessageModel
字段 | 说明 | 类型 | 备注说明 |
---|---|---|---|
ID |
编号 |
integer |
None. |
CustomerId |
用户ID |
integer |
None. |
Title |
通知标题 |
string |
None. |
Message |
通知内容 |
string |
None. |
Url |
通知链接 |
string |
None. |
IsShow |
是否已看 0=未看 1=已看 |
integer |
None. |
请求格式:application/json, text/json
application/json
Sample:
{ "ID": 1, "CustomerId": 2, "Title": "sample string 3", "Message": "sample string 4", "Url": "sample string 5", "IsShow": 6, "AddTime": "2025-05-17 15:46:23", "UpdateTime": "2025-05-17 15:46:23", "AddUser": "sample string 9", "AddUserID": 10, "UpdateUser": "sample string 11", "Deleted": 12 }
得到响应信息说明
新增商城消息
ResponseResult字段 | 说明 | 类型 | 备注说明 |
---|---|---|---|
ResponseMsg |
返回结果内容描述 |
string |
None. |
ResponseCode |
状态码 0(成功) >0(业务错误) <0(系统错误) -1: 系统错误 100: 字符为空报错 101: 字符类型错误 102: 图片上传失败200: 操作失败300: 缓存验证超时错误 301: 缓存验证码错误 302: token 错误系统不存在,非法操作 303: token 验证超时500: 参数错误 501: 数据为空 502: 存在重复数据 503: 业务验证失败 |
integer |
None. |
Data |
返回的结果集 |
Object |
None. |
响应格式
application/json, text/json
Sample:
{ "ResponseMsg": "sample string 1", "ResponseCode": 2, "Data": {} }