请求方式 POST 请求路径 api/FarmShopCar/ClearDisabled

清空失效商品

URI 参数说明

None.

Json字符串 参数说明:Body Data

Collection of CarModel
字段说明类型备注说明
ShopCompanyId

integer

None.

ShopName

店铺名称

string

None.

ID

ID

integer

None.

CustomerId

用户编号

integer

None.

SupGoodsSkuId

SupGoodsSkuId

string

None.

Count

商品数量

integer

None.

IsChoosed

是否选中

integer

None.

IsDisabled

是否失效 默认0未失效 1失效

integer

None.

IsDelete

是否删除

integer

None.

CompanyId

公司id

integer

None.

AddTime

添加时间

date

None.

SalePrice

decimal number

None.

Price

decimal number

None.

ErpInWareStock

integer

None.

ErpOccupyStock

integer

None.

IsStandard

integer

None.

Pid

integer

None.

TotalWeight

decimal number

None.

MinCount

integer

None.

MaxCountPerHeadPerDay

integer

None.

Weight

decimal number

None.

State

integer

None.

InWareStock

integer

None.

OccupyStock

占用的库存

integer

None.

ItemDisabled

boolean

None.

Options

Collection of OptionSelect

None.

ImagesSrc

string

None.

SkuName

string

None.

BasicUnit

string

None.

GuidePrice

decimal number

None.

InputPrice

decimal number

None.

EditPrice

decimal number

None.

FarmUserId

integer

None.

ShopDeleted

0:以开店 1以关店

integer

None.

请求格式:application/json, text/json

application/json

Sample:
[
  {
    "ShopCompanyId": 1,
    "ShopName": "sample string 2",
    "ID": 3,
    "CustomerId": 4,
    "SupGoodsSkuId": "sample string 5",
    "Count": 6,
    "IsChoosed": 7,
    "IsDisabled": 8,
    "IsDelete": 9,
    "CompanyId": 10,
    "AddTime": "2025-05-18 07:03:58",
    "SalePrice": 12.0,
    "Price": 13.0,
    "ErpInWareStock": 14,
    "ErpOccupyStock": 15,
    "IsStandard": 16,
    "Pid": 17,
    "TotalWeight": 18.0,
    "MinCount": 19,
    "MaxCountPerHeadPerDay": 20,
    "Weight": 21.0,
    "State": 22,
    "InWareStock": 23,
    "OccupyStock": 24,
    "ItemDisabled": true,
    "Options": [
      {
        "label": "sample string 1",
        "value": "sample string 2",
        "disabled": true
      },
      {
        "label": "sample string 1",
        "value": "sample string 2",
        "disabled": true
      }
    ],
    "ImagesSrc": "sample string 26",
    "SkuName": "sample string 27",
    "BasicUnit": "sample string 28",
    "GuidePrice": 29.0,
    "InputPrice": 30.0,
    "EditPrice": 31.0,
    "FarmUserId": 32,
    "ShopDeleted": 33
  },
  {
    "ShopCompanyId": 1,
    "ShopName": "sample string 2",
    "ID": 3,
    "CustomerId": 4,
    "SupGoodsSkuId": "sample string 5",
    "Count": 6,
    "IsChoosed": 7,
    "IsDisabled": 8,
    "IsDelete": 9,
    "CompanyId": 10,
    "AddTime": "2025-05-18 07:03:58",
    "SalePrice": 12.0,
    "Price": 13.0,
    "ErpInWareStock": 14,
    "ErpOccupyStock": 15,
    "IsStandard": 16,
    "Pid": 17,
    "TotalWeight": 18.0,
    "MinCount": 19,
    "MaxCountPerHeadPerDay": 20,
    "Weight": 21.0,
    "State": 22,
    "InWareStock": 23,
    "OccupyStock": 24,
    "ItemDisabled": true,
    "Options": [
      {
        "label": "sample string 1",
        "value": "sample string 2",
        "disabled": true
      },
      {
        "label": "sample string 1",
        "value": "sample string 2",
        "disabled": true
      }
    ],
    "ImagesSrc": "sample string 26",
    "SkuName": "sample string 27",
    "BasicUnit": "sample string 28",
    "GuidePrice": 29.0,
    "InputPrice": 30.0,
    "EditPrice": 31.0,
    "FarmUserId": 32,
    "ShopDeleted": 33
  }
]

得到响应信息说明

清空失效商品

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": {}
}