查询产品基础数据根据产品编码

#### 简要描述: - 查询产品基础信息根据产品编码 #### 接口版本: |版本号|制定人|制定日期|修订日期| |:---- |:---|:----- |----- | |1.0.0 |张玉龙 |2020-11-26 |2020-11-26 | #### 请求URL: - http://ip:port/semi-api/offer/getOfferProductByProductCode #### 请求方式: - GET #### 请求头: |参数名|是否必须|类型|说明| |:---- |:---|:----- |----- | |Content-Type |是 |string |请求类型: application/json | #### 请求示例: ```json ?productCode=PW1003 ``` #### 请求参数: | 参数名称 | 参数类型 | 备注 | 是否必须| | ------------ | ------------ | ------------ | ------------ | |productCode|string|产品编码| 是| #### 返回示例: **正确时返回:** ```json { "msg": "操作成功", "code": 200, "data": { "afterTaxPrice": 6700, "agencyPrice": 6500, "authorizationPrice": 6500, "beforeTaxPrice": 6500, "commercePrice": 6700, "createTime": "2020-11-26 14:26:07", "id": 4, "operatingPersonnel": "user", "page": 1, "productCode": "PW1003", "productEnglishName": "dian guang xi lie", "productLine": "电光系列", "productName": "电光哈哈哈3", "productSpecification": "100*200", "retailPrice": 6800, "insuranceDeadline": 3, "rows": 10, "taxRate": 17, "updateTime": "2020-11-26 14:26:07" } } ``` **错误时返回:** ```json { "msg": "操作失败", "code": -200, "data": {} } ``` #### 返回参数(通用参数)说明: |参数名|是否必须|类型|说明| |:---- |:---|:----- |----- | |code|是 |string | 200 成功 其他失败 | |msg|是 |string |成功或失败消息内容 | |data|是 |string | 真实参数 | #### 返回参数(data)说明: | 参数名称 | 参数类型 | 示例值 | 备注 | | ------------ | ------------ | ------------ | ------------ | |afterTaxPrice|number|6700|税后价格 | |agencyPrice|number|6500|代理价格 | |authorizationPrice|number|6500|授权价格 | |beforeTaxPrice|number|6500|税前价格 | |commercePrice|number|6700|电商价格 | |createTime|string|2020-11-26 14:26:07| 创建时间| |id|number|4| 主键id| |operatingPersonnel|string|user|操作人 | |productCode|string|PW1003|产品编码 | |productEnglishName|string|dian guang xi lie|英文名称 | |productLine|string|电光系列| 产品系列| |productName|string|电光哈哈哈3| 产品名称| |productSpecification|string|100*200|产品规格 | |retailPrice|number|6800| 零售价格| |insuranceDeadline|number|3| 质保期限| |taxRate|number|17|税率 | |updateTime|string|2020-11-26 14:26:07| 更新时间|