Commit 0cb2b416 by guojuxing

添加工单上传接口

parent bfa29c18
......@@ -97,4 +97,28 @@ public class UdeskResCustomFieldDataDTO implements Serializable{
public void setOptions(List<UdeskCustomFieldOptionDTO> options) {
this.options = options;
}
public String getCustomer_permission() {
return customer_permission;
}
public void setCustomer_permission(String customer_permission) {
this.customer_permission = customer_permission;
}
public String getAgent_permission() {
return agent_permission;
}
public void setAgent_permission(String agent_permission) {
this.agent_permission = agent_permission;
}
public String getCalculate_result_type() {
return calculate_result_type;
}
public void setCalculate_result_type(String calculate_result_type) {
this.calculate_result_type = calculate_result_type;
}
}
......@@ -2,6 +2,7 @@ package com.gic.udesk.web.controller;
import javax.servlet.http.HttpServletRequest;
import com.gic.udesk.qo.TicketListQO;
import org.apache.commons.lang3.StringUtils;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
......@@ -64,6 +65,12 @@ public class GicTicketController {
return ResultControllerUtils.commonResult(gicTicketApiService.getTicketReplies(ticketId, currentPage, pageSize));
}
@RequestMapping("/list-ticket")
@IgnoreLogin
public RestResponse page(TicketListQO params) {
return ResultControllerUtils.commonResult(gicTicketApiService.page(params));
}
@RequestMapping("/ticket-upload-file")
@IgnoreLogin
public RestResponse getCustomFieldFromUdeskTemplates(HttpServletRequest request) throws Exception {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment