| | |
| | | try { |
| | | if (SpringContextUtil.checkDev()) { |
| | | log.info("xsdurl:{}", testUrl + "/api/thrid/grid/todo/batch-create-todo"); |
| | | s = HttpClientUtils.httpPostRaw(testUrl + "/api/thrid/grid/todo/batch-create-todo", JSON.toJSONString(requestVo), new HashMap<>(), "utf-8"); |
| | | s = HttpClientUtils.httpPostRaw(testUrl + "/api/thrid/grid/todo/batch-create-todo", JSON.toJSONString(gridToDoVo), new HashMap<>(), "utf-8"); |
| | | } else { |
| | | s = HttpClientUtils.httpPostRaw(gridUrl + "/sysUserTodo/saveBatch", JSON.toJSONString(requestVo), new HashMap<>(), "utf-8"); |
| | | } |
| | |
| | | try { |
| | | if (SpringContextUtil.checkDev()) { |
| | | log.info("xsdurl:{}", testUrl + "/api/thrid/grid/todo/batch-update-todo"); |
| | | s = HttpClientUtils.httpPostRaw(testUrl + "/api/thrid/grid/todo/batch-update-todo", JSON.toJSONString(requestVo), new HashMap<>(), "utf-8"); |
| | | s = HttpClientUtils.httpPostRaw(testUrl + "/api/thrid/grid/todo/batch-update-todo", JSON.toJSONString(gridToDoVos), new HashMap<>(), "utf-8"); |
| | | } else { |
| | | s = HttpClientUtils.httpPostRaw(gridUrl + "/sysUserTodo/updateBatch", JSON.toJSONString(requestVo), new HashMap<>(), "utf-8"); |
| | | } |
| | |
| | | try { |
| | | if (SpringContextUtil.checkDev()) { |
| | | log.info("xsdurl:{}", testUrl + "/api/thrid/grid/todo/delete-todo"); |
| | | s = HttpClientUtils.httpPostRaw(testUrl + "/api/thrid/grid/todo/delete-todo", JSON.toJSONString(requestVo), new HashMap<>(), "utf-8"); |
| | | s = HttpClientUtils.httpPostRaw(testUrl + "/api/thrid/grid/todo/delete-todo", JSON.toJSONString(gridIdsVo), new HashMap<>(), "utf-8"); |
| | | } else { |
| | | s = HttpClientUtils.httpPostRaw(gridUrl + "/sysUserTodo/batchDel", JSON.toJSONString(requestVo), new HashMap<>(), "utf-8"); |
| | | } |