🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
# 1、新增 ## 接口描述 新增 投诉 ## 接口地址 ~~~ https://ip/app/complaint/saveComplaintsAdvice ~~~ ## 请求参数 | 字段 | 类型 | 是否必须 | 备注 | | --- | --- | --- | --- | | accountId| string| 是| 账号ID| |complaint_id|string|否|主键ID| |openId|string|是|openId| |airport_code|string|是|机场代码| |complaint_code|string|是|投诉代码| |complaint_content|string|是|投诉内容| |complaint_in|int|是|投诉来源1:微信小程序2:线下| |commit_time|string|是|投诉时间| |phone_number|string|是|联系方式| ## 请求报文 数据类型Content-Type: form-data ``` { "complaintAttachmentDTOS": \[ { "complainOrReply": "string", "complaintId": "string", "createTime": "2020-07-21T02:32:12.783Z", "documentType": "string", "duration": 0, "id": "string", "maintainer": "string", "remark": "string", "reserve1": "string", "reserve2": "string", "reserve3": "string", "updateTime": "2020-07-21T02:32:12.783Z", "url": "string" } \], "complaintDTO": { "accountId": "string", "category": "string", "causeTypeCode": "string", "causeTypeName": "string", "certNo": "string", "complaintCode": "string", "complaintName": "string", "complaintTime": "2020-07-21T02:32:12.783Z", "complaintTypeName": "string", "content": "string", "counterId": "string", "counterName": "string", "createTime": "2020-07-21T02:32:12.783Z", "email": "string", "flight": "string", "flightDate": "2020-07-21T02:32:12.783Z", "id": "string", "linkTypeCode": "string", "linklTypeName": "string", "maintainer": "string", "orderCode": "string", "publishTime": "2020-07-21T02:32:12.783Z", "publisher": "string", "remark": "string", "reply": "string", "replyPoint": 0, "replyState": "string", "replyTime": "2020-07-21T02:32:12.783Z", "replyerId": "string", "replyerName": "string", "requestId": "string", "reserve1": "string", "reserve2": "string", "reserve3": "string", "tenantId": "string", "tenantName": "string", "updateTime": "2020-07-21T02:32:12.783Z", "vendorId": "string", "vendorName": "string" } } ``` ## 响应参数 | 字段 | | 类型 | 描述 | 备注 | | --- | --- | --- | --- | --- | | code | | String | 返回状态 | 500 - 失败 200 - 成功 | | message | | String | 错误说明 | 请求失败或者发生错误的具体描述 | | timeStamp | | datetime | 请求时间戳 | 请求时带的时间戳 | | result | | Object | | 结果集 | ## 响应报文 ``` { "success": false, "message": "{complaintTypeId=投诉类型Id不能为空, accountId=账户Id不能为空}", "code": 500, "timestamp": 1595300121000, "result": null } ```