Browse Source

外呼系统开发

anderx 1 year ago
parent
commit
e091d8a1fd

+ 1 - 1
src/main/java/com/goafanti/common/controller/PublicController.java

@@ -986,6 +986,6 @@ public class PublicController extends CertifyApiController {
 	@ResponseBody
 	public Result callCompleted(@RequestBody InputCallCompleter in) {
 		System.out.println(in);
-		return new Result<>().data(userOutboundService.callCompleted(in));
+		return new Result<>().data(userOutboundService.pushcallCompleted(in));
 	}
 }

+ 1 - 1
src/main/java/com/goafanti/customer/service/UserOutboundService.java

@@ -11,7 +11,7 @@ public interface UserOutboundService {
 
     Result blindTransferByAgent(InputCallNumber in);
 
-    Object callCompleted(InputCallCompleter in);
+    Object pushcallCompleted(InputCallCompleter in);
 
     Object agentList();
 

+ 3 - 1
src/main/java/com/goafanti/customer/service/impl/UserOutboundServiceImpl.java

@@ -138,7 +138,7 @@ public class UserOutboundServiceImpl extends BaseMybatisDao<UserArchivesMapper>
     }
 
     @Override
-    public Object callCompleted(InputCallCompleter in) {
+    public Object pushcallCompleted(InputCallCompleter in) {
         //{authentication=authenticationBo{customer='C322', timestamp='1732070407', seq='68197723', digest='c310ec894cee31765baa1b4f97426014'},
         // notify={type=billing, startTime=2024-11-20 10:39:37, ringTime=2024-11-20 10:39:39, answerTime=2024-11-20 10:39:53,
         // byeTime=2024-11-20 10:40:05, staffNo=1863336, group1=默认班组, group2=, callee=13297312076, caller=15574937814,
@@ -153,6 +153,7 @@ public class UserOutboundServiceImpl extends BaseMybatisDao<UserArchivesMapper>
         String caller=(String) notify.get("caller");
         String typeResult=(String) notify.get("typeResult");
         String timeLength=(String) notify.get("timeLength");
+        String callResultMsg=(String) notify.get("callResultMsg");
         String name=admin.getName();
         String ContactName=null;
         String uid=null;
@@ -171,6 +172,7 @@ public class UserOutboundServiceImpl extends BaseMybatisDao<UserArchivesMapper>
         String substring = callee.substring(callee.length() - 4);
         callLog.setMobileLastDigits(substring);
         callLog.setDuration(Integer.parseInt(timeLength));
+        callLog.setRemarks(callResultMsg);
         callLogMapper.insert(callLog);
         //需要关闭客户呼叫中
         try {

+ 5 - 5
src/main/resources/props/config_test.properties

@@ -1,5 +1,5 @@
 dev.name=test
-static.host=//uat.jishutao.com/1.3.28
+static.host=//static.jishutao.com/1.3.28
 #Driver
 jdbc.driverClassName=com.mysql.jdbc.Driver
 jdbc.url=jdbc:mysql://127.0.0.1:3306/aft?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false
@@ -51,11 +51,11 @@ yxjl_max=100
 amb.maxLvl=6
 
 
-portal.host=//uat.jishutao.com/portal/2.0.6
-avatar.host=//uat.jishutao.com
+portal.host=//static.jishutao.com/portal/2.0.6
+avatar.host=//static.jishutao.com
 
-rd.static.host=//uat.jishutao.com/RD/1.0.04
-avatar.upload.host=//uat.jishutao.com/upload
+rd.static.host=//static.jishutao.com/RD/1.0.04
+avatar.upload.host=//static.jishutao.com/upload
 
 wx.appId=wxff2f5720ed7d7f63
 wx.appSecret=081744369d42405be58fe37f892631f7