|
@@ -0,0 +1,21 @@
|
|
|
|
+package com.xxl.job.executor.batch.controller;
|
|
|
|
+
|
|
|
|
+import com.xxl.job.executor.utils.ResultMapUtils;
|
|
|
|
+import com.xxl.job.executor.utils.StatusCode;
|
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
|
+
|
|
|
|
+import java.util.HashMap;
|
|
|
|
+import java.util.Map;
|
|
|
|
+
|
|
|
|
+@RestController
|
|
|
|
+@RequestMapping("get")
|
|
|
|
+public class MdzzController {
|
|
|
|
+ @GetMapping("test")
|
|
|
|
+ public Map<String,Object>test(){
|
|
|
|
+ Map<String,Object>result = new HashMap<>();
|
|
|
|
+ ResultMapUtils.setResultMap(result, StatusCode.ACCOUNT_HAS_NOT_EXIST);
|
|
|
|
+ return result;
|
|
|
|
+ }
|
|
|
|
+}
|