|
@@ -16,10 +16,12 @@ import com.ruixuan.salesLeads.pojo.SaleClueRecordInfoPojo;
|
|
|
import com.ruixuan.salesLeads.pojo.TestPojo;
|
|
|
import com.ruixuan.salesLeads.pojo.vo.SaleRecordVo;
|
|
|
import com.ruixuan.salesLeads.pojo.vo.SaleTaskInfoVo;
|
|
|
+import com.ruixuan.salesLeads.service.ISaleClueCallRecordService;
|
|
|
import com.ruixuan.salesLeads.service.ISaleClueInfoService;
|
|
|
import com.ruixuan.salesLeads.service.ITestService;
|
|
|
import com.ruixuan.salesLeads.service.impl.TelephoneRobotServiceImpl;
|
|
|
import io.swagger.annotations.*;
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
@@ -40,6 +42,7 @@ import java.util.stream.Collectors;
|
|
|
*/
|
|
|
|
|
|
|
|
|
+@Slf4j
|
|
|
@Api(tags = "销售线索",description = "saleClueInfoController")
|
|
|
@RestController
|
|
|
@RequestMapping("sale/saleClueInfoController")
|
|
@@ -239,6 +242,18 @@ public class SaleClueInfoController extends BaseController {
|
|
|
|
|
|
|
|
|
|
|
|
+ @Autowired
|
|
|
+ private ISaleClueCallRecordService saleClueCallRecordService;
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ @ApiOperation(value = "回调地址",notes = "回调地址")
|
|
|
+ @PostMapping(value = "/robotCallbackUrl")
|
|
|
+ public JSONObject robotCallbackUrl(@RequestBody JSONObject json){
|
|
|
+ saleClueCallRecordService.SaleClueCallRecordMapper(json.toJSONString());
|
|
|
+ log.info("callBackUrl----->>>{}",json);
|
|
|
+ return json;
|
|
|
+ }
|
|
|
|
|
|
|
|
|
|