ERP后台

ERP后台API


日志

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>日志</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://xx.com/Admin/OAProperty/get_log</code></li> </ul> <h5>请求方式</h5> <ul> <li>GET </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;">id</td> <td style="text-align: left;">否</td> <td style="text-align: left;">string</td> <td>资产id</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code>{ "info": { "list": [ { "id": "1", "property_id": "1", "last_id": "0", "operate_type": "-2", "property_status": "1", "behavior_content": "YCK编号:123456已租用",//操作说明 "behavior_uid": "1", "behavior_receive_uid": "0", "behavior_time": "1642053703", "behavior_pic": "", "property_condition": "1", "behavior_receive_office_area": "3", "behavior_amount": "0.00", "deposit": "0.00", "last_data":"{\"property_name\":\"\白\桦\林1\",\"property_type_id\":\"2\",\"company_id\":\"1\",\"yck_code\":\"123456\",\"property_code\":\"123456\",\"order_code\":\"\",\"brand\":\"\",\"model\":\"\",\"obj_uid\":\"0\",\"obj_time\":\"0\",\"receive_uid\":\"0\",\"office_area_id\":\"3\",\"charge_uid\":\"0\",\"admin_uid\":\"1\",\"operate_type\":\"-2\",\"status\":\"1\",\"condition\":\"1\",\"buy_uid\":\"1\",\"purchase_type\":\"2\",\"buy_time\":\"1642053703\",\"amount\":\"0.00\",\"rent\":\"0.00\",\"deposit\":\"0.00\",\"sell_price\":\"0.00\",\"loss_price\":\"0.00\",\"property_pic\":\"20220114143806\\/property_20220114143806228325.jpg\",\"receiving_pic\":\"\",\"remark\":\"\",\"is_del\":\"0\"}", "add_uid": "1", "created_at": "2022-01-14 14:38:06",//添加时间 "remark": "",//备注 "operate_type_str": "租用",//操作类型 "add_name": "Admin"//操作人 "pro_pic_arr": [ "http://oss-cn-shenzhen.aliyuncs.com/youcku/oa_property_file1/00000039/property/20220122141402/property_pic_20220122141402915066.jpg?OSSAccessKeyId=LiM13P7oFGnbb0cS&amp;Expires=1642838324&amp;Signature=%2BB5Eseu4aa3xKj8JfOdd3757iRI%3D" ],//资产图片链接 "receiving_pic_arr": []//收/付款凭证图片链接 } ], "total_count": "7", "total_page": 1, "now_page": 1 }, "status": 1, "url": "" }</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