|
@@ -7,6 +7,7 @@ import com.malk.service.dingtalk.DDClient_Alibtrip;
|
|
|
import com.malk.service.dingtalk.DDClient_Workflow;
|
|
|
import com.malk.utils.PublicUtil;
|
|
|
import com.malk.utils.UtilMap;
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
@@ -19,6 +20,7 @@ import java.util.List;
|
|
|
import java.util.Map;
|
|
|
|
|
|
@RestController
|
|
|
+@Slf4j
|
|
|
@RequestMapping("/alibtrip")
|
|
|
public class DingAlibtripController {
|
|
|
|
|
@@ -33,6 +35,7 @@ public class DingAlibtripController {
|
|
|
//商机跟进表单通过后同步创建商机档案表的页签明细
|
|
|
@PostMapping("/project/add")
|
|
|
public McR addProject(@RequestBody JSONObject param){
|
|
|
+ log.info("商旅&OA新增项目接口,参数:{}",param);
|
|
|
if(PublicUtil.isNull(param,"projectId","projectName")) return McR.errorNullPointer();
|
|
|
String result="";
|
|
|
try {
|