需求发布
<p><strong>接口描述:</strong></p>
<ul>
<li>发布需求</li>
</ul>
<p><strong>请求URL:</strong></p>
<ul>
<li><code>/jt/jtbdemand/save</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST</li>
</ul>
<p><strong>请求参数:</strong></p>
<table>
<thead>
<tr>
<th style="text-align: left;">字段</th>
<th style="text-align: left;">类型</th>
<th style="text-align: left;">描述</th>
<th style="text-align: left;">必填</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<p>| contactName | string| 联系人 |否
| contactPhone | String| 联系电话 |是
| smsCode | String| 短信验证码 |是
| ownStoreIds | String| 内部供应商[56,67] |否
| storeIds | String| 平台供应商[43,23] |否
| syncEnquiry | String| 默认传1为同步公开询价,不公开询价传0 |是
| demandImageUrl | String| 需求图片 |是
| demandName | String| 需求名称 |是
| demandSpec | String| 需求规格 |否
| demandNum | int| 需求数量 |是
| demandUnit | int| 单位 |是
| demandPrice | int| 价格 |是
| endTime | Long| 需求到期时间 |是</p>
<p><strong>参数类型</strong>
json对象</p>
<p><strong>响应头参数:</strong></p>
<table>
<thead>
<tr>
<th style="text-align: left;">字段</th>
<th style="text-align: left;">类型</th>
<th style="text-align: left;">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">code</td>
<td style="text-align: left;">int</td>
<td style="text-align: left;">响应代码</td>
</tr>
<tr>
<td style="text-align: left;">message</td>
<td style="text-align: left;">string</td>
<td style="text-align: left;">响应描述</td>
</tr>
<tr>
<td style="text-align: left;">data</td>
<td style="text-align: left;">json</td>
<td style="text-align: left;">业务数据</td>
</tr>
</tbody>
</table>
<p><strong>请求示例</strong></p>
<pre><code>{
contactName: &quot;刘女&quot;
contactPhone: &quot;15096395524&quot;
&quot;demands&quot;: [
{
&quot;demandImageUrl&quot;: &quot;https://oss.aitejj.com/oss/img/758d7699cc484a6dabbd2c3ddd17bd30.png&quot;,
&quot;demandName&quot;: &quot;4号钢管&quot;,
&quot;demandSpec&quot;: &quot;普遍&quot;,
&quot;demandBrand&quot;: &quot;&quot;,
&quot;demandNum&quot;: 900,
&quot;demandUnit&quot;: &quot;米&quot;,
&quot;demandPrice&quot;: 9.8,
&quot;categoryId&quot;: &quot;&quot;,
&quot;categoryName&quot;: &quot;&quot;,
&quot;endTime&quot;: &quot;20250531000000&quot;
},
{ }
]
smsCode: &quot;763493&quot;
storeIds: &quot;[57,76]&quot;
ownStoreIds:&quot;[57,76]&quot;
}</code></pre>
<p><strong>响应示例</strong></p>
<pre><code>{
&quot;code&quot;: 200,
&quot;message&quot;: &quot;操作成功!&quot;,
&quot;data&quot;: null
}</code></pre>
<p><strong>备注</strong></p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>