POST api/TwoShopSellLog/addShopSellLog
添加店铺销售记录
Request Information
URI Parameters
None.
Body Parameters
addShopSellLogPost| Name | Description | Type | Additional information |
|---|---|---|---|
| day | string |
None. |
|
| groupid | integer |
None. |
|
| sellcount |
销售额加龙销售等于总销售,所以总销售不要传递 |
decimal number |
None. |
| ldfCount | decimal number |
None. |
|
| xianjin | decimal number |
None. |
|
| shuaka | decimal number |
None. |
|
| wxpay | decimal number |
None. |
|
| zhifubao | decimal number |
None. |
|
| yichangzhekou | decimal number |
None. |
|
| daijinquan | decimal number |
None. |
|
| kaizhi | decimal number |
None. |
|
| shijie | decimal number |
None. |
|
| jifen | integer |
None. |
|
| list | 数组: addshopselllogItem |
None. |
|
| tel |
登录账号 |
string |
None. |
| token |
token |
string |
None. |
| uid | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"day": "sample string 1",
"groupid": 1,
"sellcount": 2.0,
"ldfCount": 3.0,
"xianjin": 4.0,
"shuaka": 5.0,
"wxpay": 6.0,
"zhifubao": 7.0,
"yichangzhekou": 8.0,
"daijinquan": 9.0,
"kaizhi": 10.0,
"shijie": 11.0,
"jifen": 12,
"list": [
{
"pinpai": "sample string 1",
"xiaoliang": 2,
"laituihuo": 3,
"diaobohuo": 4,
"kucun": 5
},
{
"pinpai": "sample string 1",
"xiaoliang": 2,
"laituihuo": 3,
"diaobohuo": 4,
"kucun": 5
}
],
"tel": "sample string 13",
"token": "sample string 14",
"uid": 1
}
application/xml, text/xml
Sample:
<addShopSellLogPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Controllers">
<tel xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">sample string 13</tel>
<token xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">sample string 14</token>
<uid xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">1</uid>
<daijinquan>9</daijinquan>
<day>sample string 1</day>
<groupid>1</groupid>
<jifen>12</jifen>
<kaizhi>10</kaizhi>
<ldfCount>3</ldfCount>
<list>
<addshopselllogItem>
<diaobohuo>4</diaobohuo>
<kucun>5</kucun>
<laituihuo>3</laituihuo>
<pinpai>sample string 1</pinpai>
<xiaoliang>2</xiaoliang>
</addshopselllogItem>
<addshopselllogItem>
<diaobohuo>4</diaobohuo>
<kucun>5</kucun>
<laituihuo>3</laituihuo>
<pinpai>sample string 1</pinpai>
<xiaoliang>2</xiaoliang>
</addshopselllogItem>
</list>
<sellcount>2</sellcount>
<shijie>11</shijie>
<shuaka>5</shuaka>
<wxpay>6</wxpay>
<xianjin>4</xianjin>
<yichangzhekou>8</yichangzhekou>
<zhifubao>7</zhifubao>
</addShopSellLogPost>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BaseResult| Name | Description | Type | Additional information |
|---|---|---|---|
| code |
状态码,200成功,300错误,400缺少参数,500没有权限,301数据不存在... |
integer |
None. |
| msg |
成功或者错误的说明,例如:登录成功,token过期... |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": 1,
"msg": "sample string 2"
}
application/xml, text/xml
Sample:
<BaseResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models"> <code>1</code> <msg>sample string 2</msg> </BaseResult>