对账单自定义样式Demo
<p><strong>简要描述:</strong> </p>
<ul>
<li>URL地址</li>
<li>` <a href="http://192.168.12.86/s1saas/spos1/bm/printstyle/getstyledictionary">http://192.168.12.86/s1saas/spos1/bm/printstyle/getstyledictionary</a></li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li>配置表中查询</li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>请求类型:</strong></p>
<ul>
<li>
<p>application/json </p>
<p><strong>请求示例</strong></p>
</li>
</ul>
<pre><code> {}</code></pre>
<p><strong>data请求参数说明(待定):</strong> </p>
<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>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"result": 0,
"data": {
"dataList": [
{
"name": "基础信息",
"id": 1,
"list": [
{
"code": "01",
"field": "way",
"dataType": 1,
"name": "渠道",
"id": 101
},
{
"code": "02",
"field": "way2",
"dataType": 1,
"name": "渠道2",
"id": 102
}
]
},
{
"name": "主信息",
"id": 2,
"list": [
{
"name": "品项",
"id": 201,
"list": [
{
"code": "02",
"field": "itemName",
"dataType": 1,
"name": "品相名称",
"id": 2011
},
{
"code": "03",
"field": "number",
"dataType": 2,
"name": "数量",
"id": 2011
}
]
}
]
}
]
}
}
</code></pre>
<p><strong>返回参数说明</strong> </p>
<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;">name</td>
<td style="text-align: left;">String</td>
<td>名称</td>
</tr>
<tr>
<td style="text-align: left;">id</td>
<td style="text-align: left;">long</td>
<td>字典主键值</td>
</tr>
<tr>
<td style="text-align: left;">code</td>
<td style="text-align: left;">String</td>
<td>数据集ID</td>
</tr>
<tr>
<td style="text-align: left;">field</td>
<td style="text-align: left;">String</td>
<td>对应对象键值</td>
</tr>
<tr>
<td style="text-align: left;">dataType</td>
<td style="text-align: left;">int</td>
<td>数据类型 0=文本 1=整数 2=浮点 3=日期/时间 4=UNIX格式时间</td>
</tr>
</tbody>
</table>