艾特机加

后端接口文档


需求发布

<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: &amp;quot;刘女&amp;quot; contactPhone: &amp;quot;15096395524&amp;quot; &amp;quot;demands&amp;quot;: [ { &amp;quot;demandImageUrl&amp;quot;: &amp;quot;https://oss.aitejj.com/oss/img/758d7699cc484a6dabbd2c3ddd17bd30.png&amp;quot;, &amp;quot;demandName&amp;quot;: &amp;quot;4号钢管&amp;quot;, &amp;quot;demandSpec&amp;quot;: &amp;quot;普遍&amp;quot;, &amp;quot;demandBrand&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;demandNum&amp;quot;: 900, &amp;quot;demandUnit&amp;quot;: &amp;quot;米&amp;quot;, &amp;quot;demandPrice&amp;quot;: 9.8, &amp;quot;categoryId&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;categoryName&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;endTime&amp;quot;: &amp;quot;20250531000000&amp;quot; }, { } ] smsCode: &amp;quot;763493&amp;quot; storeIds: &amp;quot;[57,76]&amp;quot; ownStoreIds:&amp;quot;[57,76]&amp;quot; }</code></pre> <p><strong>响应示例</strong></p> <pre><code>{ &amp;quot;code&amp;quot;: 200, &amp;quot;message&amp;quot;: &amp;quot;操作成功!&amp;quot;, &amp;quot;data&amp;quot;: null }</code></pre> <p><strong>备注</strong></p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML