|
|
@@ -17,6 +17,7 @@ import com.goafanti.common.utils.excel.NewExcelUtil;
|
|
|
import com.goafanti.core.mybatis.JDBCIdGenerator;
|
|
|
import com.goafanti.core.shiro.token.TokenManager;
|
|
|
import com.goafanti.core.websocket.SystemWebSocketHandler;
|
|
|
+import com.goafanti.customer.service.UserOutboundService;
|
|
|
import com.goafanti.expenseAccount.service.ExpenseAccountService;
|
|
|
import com.goafanti.order.service.OrderNewService;
|
|
|
import com.goafanti.order.service.OrderProjectService;
|
|
|
@@ -33,14 +34,12 @@ import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.context.annotation.Scope;
|
|
|
import org.springframework.http.MediaType;
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
-import org.springframework.web.bind.annotation.RequestParam;
|
|
|
-import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
|
import org.springframework.web.socket.TextMessage;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
+import javax.servlet.ServletRequest;
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
import java.io.*;
|
|
|
@@ -96,6 +95,8 @@ public class PublicController extends CertifyApiController {
|
|
|
private OrderNewService orderNewService;
|
|
|
@Autowired
|
|
|
private OrderProjectService orderProjectService;
|
|
|
+ @Resource
|
|
|
+ private UserOutboundService userOutboundService;
|
|
|
|
|
|
@Value(value = "${patentTemplate}")
|
|
|
private String patentTemplate = null;
|
|
|
@@ -977,4 +978,15 @@ public class PublicController extends CertifyApiController {
|
|
|
res.data("ok");
|
|
|
return res;
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 呼叫完成回调
|
|
|
+ *
|
|
|
+ */
|
|
|
+ @PostMapping("/callCompleted")
|
|
|
+ public Result callCompleted(ServletRequest request,InputCallCompleter in) {
|
|
|
+ Map<String, String[]> parameterMap =request.getParameterMap();
|
|
|
+ System.out.println(parameterMap);
|
|
|
+ return new Result<>().data(userOutboundService.callCompleted(parameterMap));
|
|
|
+ }
|
|
|
}
|