GET api/MallCommodity/GetCommodityFrontDto?id={id}

获取商品信息(供详情使用)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

商品id

integer

Required

Body Parameters

None.

Response Information

Resource Description

获取商品信息(供详情使用)

CommodityFrontDto
NameDescriptionTypeAdditional information
Id

商品id ,需要转接 老id ---tgid

integer

None.

SoldNum

售出份数

integer

None.

ClassName

分类名称

string

None.

CategoryName

二级分类名称

string

None.

RegionName

区域名称

string

None.

SectionName

地段名称

string

None.

IsAuditing

是否审核

boolean

None.

SaleStatus

销售状态

SaleStatusType

None.

Chrtitle

商品标题

string

None.

Shopid

好店id 影响老模块比较大,不进行更改名称

integer

None.

Chrimage

封面

string

None.

Chrmark

商品描述

string

None.

Chrcontent

商品内容

string

None.

Typeid

商品类型

CommodityType

None.

RobBuyPrice

抢购价,需要转换数据字段名称

decimal number

None.

IsIndex

推荐

boolean

None.

Dtappenddate

创建时间

date

None.

StartDate

销售开始时间

date

None.

EndDate

销售结束时间

date

None.

Intorder

商品排序

integer

None.

IsRemote

是否有远程附件

boolean

None.

WriteOffStartDate

核销开始时间

date

None.

WriteOffEndDate

核销结束时间

date

None.

TransverseImage

横板封面

string

None.

DataStatus

删除标识

StatusType

None.

IsLimit

是否限制只有超级会员购买

boolean

None.

SubPrice

超级会员每份立减价格

decimal number

None.

ShopSettlementPrice

好店结算价

decimal number

None.

ShopStock

商家库存

integer

None.

ShopVirtualStock

商家虚拟库存

integer

None.

LimitNum

限购份数

integer

None.

Address

自提地址

string

None.

IsShowTime

是否显示抢购剩余时间

boolean

None.

IsShelf

商品是否上架

boolean

None.

MarketPrice

市场价,从字段转chrmoney1转

decimal number

None.

DistributionPrice

分销提成金额,0表示不加入分销

decimal number

None.

RegionId

区域id ,根据地段id转接

integer

None.

SectionId

地段id,老的areaid字段转接

integer

None.

Views

浏览量

integer

None.

ClassId

商品一级分类id,需要转接

integer

None.

CategoryId

商品二级分类id

integer

None.

NeedCredit

是否需要积分奖励

boolean

None.

CreditPerNum

每份商品积分数

integer

None.

RefundType

退款类型

CommodityRefundType

None.

VirtualSales

虚拟销售份数

integer

None.

BuyComment

购买须知

string

None.

IsRequestSubscribe

是否关注公众号才能下单开关

boolean

None.

IsSinglePrice

是否单价格

boolean

None.

IsHideGShopInfo

是否隐藏商品商家信息 默认false

boolean

None.

IsSupportCart

是否支持加入购物车

boolean

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<CommodityFrontDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Mall.Service.Dto.Commodity">
  <Address>sample string 29</Address>
  <BuyComment>sample string 42</BuyComment>
  <CategoryId>38</CategoryId>
  <CategoryName>sample string 4</CategoryName>
  <Chrcontent>sample string 12</Chrcontent>
  <Chrimage>sample string 10</Chrimage>
  <Chrmark>sample string 11</Chrmark>
  <Chrtitle>sample string 8</Chrtitle>
  <ClassId>37</ClassId>
  <ClassName>sample string 3</ClassName>
  <CreditPerNum>40</CreditPerNum>
  <DataStatus>Effective</DataStatus>
  <DistributionPrice>33.1</DistributionPrice>
  <Dtappenddate>2024-03-29T02:47:37.2006851+08:00</Dtappenddate>
  <EndDate>2024-03-29T02:47:37.2006851+08:00</EndDate>
  <Id>1</Id>
  <Intorder>18</Intorder>
  <IsAuditing>true</IsAuditing>
  <IsHideGShopInfo>true</IsHideGShopInfo>
  <IsIndex>true</IsIndex>
  <IsLimit>true</IsLimit>
  <IsRemote>true</IsRemote>
  <IsRequestSubscribe>true</IsRequestSubscribe>
  <IsShelf>true</IsShelf>
  <IsShowTime>true</IsShowTime>
  <IsSinglePrice>true</IsSinglePrice>
  <IsSupportCart>true</IsSupportCart>
  <LimitNum>28</LimitNum>
  <MarketPrice>32.1</MarketPrice>
  <NeedCredit>true</NeedCredit>
  <RefundType>NoRefund</RefundType>
  <RegionId>34</RegionId>
  <RegionName>sample string 5</RegionName>
  <RobBuyPrice>13.1</RobBuyPrice>
  <SaleStatus>SaleEmpty</SaleStatus>
  <SectionId>35</SectionId>
  <SectionName>sample string 6</SectionName>
  <ShopSettlementPrice>25.1</ShopSettlementPrice>
  <ShopStock>26</ShopStock>
  <ShopVirtualStock>0</ShopVirtualStock>
  <Shopid>9</Shopid>
  <SoldNum>2</SoldNum>
  <StartDate>2024-03-29T02:47:37.2006851+08:00</StartDate>
  <SubPrice>24.1</SubPrice>
  <TransverseImage>sample string 22</TransverseImage>
  <Typeid>ShopToShop</Typeid>
  <Views>36</Views>
  <VirtualSales>41</VirtualSales>
  <WriteOffEndDate>2024-03-29T02:47:37.2006851+08:00</WriteOffEndDate>
  <WriteOffStartDate>2024-03-29T02:47:37.2006851+08:00</WriteOffStartDate>
</CommodityFrontDto>