APP(合伙人)

合伙人、dms、66智修文档相关


获取商品毛重、净重属性

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>获取商品毛重、净重属性</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://xx.com/app/shop/get-parts-content</code></li> </ul> <h5>请求方式</h5> <ul> <li>POST </li> </ul> <h5>参数</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">parts_id_str</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>商品id组成的字符串,用,隔开</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code> {     &amp;quot;errCode&amp;quot;: 1000,     &amp;quot;errMsg&amp;quot;: &amp;quot;请求成功&amp;quot;,     &amp;quot;data&amp;quot;: [         {             &amp;quot;parts_id&amp;quot;: &amp;quot;3722&amp;quot;,//商品id             &amp;quot;parts_name&amp;quot;: &amp;quot;火花塞&amp;quot;,//商品名称             &amp;quot;parts_code&amp;quot;: &amp;quot;K6RTC&amp;quot;,             &amp;quot;jz_content&amp;quot;: &amp;quot;0.0025&amp;quot;,//商品净重属性(吨),计算商品净重时,净重(吨)=jz_content*数量(四舍五入保留4位小数)             &amp;quot;mz_content&amp;quot;: &amp;quot;0.003&amp;quot;//商品毛重属性(吨),计算商品毛重时,毛重(吨)=mz_content*数量(四舍五入保留4位小数)         },         {             &amp;quot;parts_id&amp;quot;: &amp;quot;6431&amp;quot;,             &amp;quot;parts_name&amp;quot;: &amp;quot;普通型&amp;quot;,             &amp;quot;parts_code&amp;quot;: &amp;quot;P21W 12V 21W BA15S&amp;quot;,             &amp;quot;jz_content&amp;quot;: &amp;quot;0.0025&amp;quot;,             &amp;quot;mz_content&amp;quot;: &amp;quot;0.012&amp;quot;         },         {             &amp;quot;parts_id&amp;quot;: &amp;quot;138345&amp;quot;,             &amp;quot;parts_name&amp;quot;: &amp;quot;普通型&amp;quot;,             &amp;quot;parts_code&amp;quot;: &amp;quot;H7 12V 55W PX26D&amp;quot;,             &amp;quot;jz_content&amp;quot;: &amp;quot;0&amp;quot;,             &amp;quot;mz_content&amp;quot;: &amp;quot;0&amp;quot;         }     ] }</code></pre> <h5>返回参数说明</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">groupid</td> <td style="text-align: left;">int</td> <td>用户组id,1:超级管理员;2:普通用户</td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML