添加
[TOC]
简要描述
- 用户注册接口
请求URL
http://localhost:3030/commodityadvertising
请求方式
- POST
参数
参数名 | 必选 | 类型 | 说明 |
---|---|---|---|
advertisingtitle | 是 | string | 广告标题 |
commodityname | 是 | string | 商品名 |
commodityprice | 否 | INTEGER | 商品价格 |
displayposition | 否 | string | 显示位置 |
advertisingpicture | 否 | BIGINT | 广告图片 |
showornot | 否 | string | 是否显示 |
updatetime | 否 | DATE | 更新时间 |
commoditynames | 否 | string | 外键-商品表 |
返回示例
{
"id": 2,
"advertisingtitle": "新鲜大白菜",
"commodityname": "大白菜",
"commodityprice": "3",
"displayposition": "14",
"advertisingpicture": "131456",
"showornot": "是",
"updatetime": "2023-05-22T16:00:00.000Z",
"commoditynames": "1",
"updatedAt": "2023-05-24T03:11:15.708Z",
"createdAt": "2023-05-24T03:11:15.708Z"
}
备注
- 更多返回错误代码请看首页的错误代码描述