|
@@ -7,6 +7,7 @@ import com.usoftchina.saas.commons.service.MaxnumberService;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
+import org.springframework.web.bind.annotation.RequestParam;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
|
|
import java.util.HashMap;
|
|
import java.util.HashMap;
|
|
@@ -31,7 +32,8 @@ public class MaxnumberController {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@PostMapping("/pushMaxnubmer")
|
|
@PostMapping("/pushMaxnubmer")
|
|
|
- public String pushMaxnubmer(Integer count, String code, String caller) {
|
|
|
|
|
|
|
+ public String pushMaxnubmer(@RequestParam("count") Integer count, @RequestParam("code") String code,
|
|
|
|
|
+ @RequestParam("caller") String caller) {
|
|
|
return maxnumberService.pushMaxnubmer(count, code, caller);
|
|
return maxnumberService.pushMaxnubmer(count, code, caller);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|