|
@@ -23,9 +23,9 @@ public class TaskController extends BaseController {
|
|
@Autowired
|
|
@Autowired
|
|
private SapReportService sapReportService;
|
|
private SapReportService sapReportService;
|
|
|
|
|
|
- @RequestMapping(value = "/syncWeixinUserAnon", produces = "application/json;charset=utf-8")
|
|
|
|
|
|
+ @RequestMapping(value = "/syncWeixinUser", produces = "application/json;charset=utf-8")
|
|
@ResponseBody
|
|
@ResponseBody
|
|
- public Object syncWeixinUserAnon() {
|
|
|
|
|
|
+ public Object syncWeixinUser() {
|
|
try {
|
|
try {
|
|
taskService.syncWeixinUser();
|
|
taskService.syncWeixinUser();
|
|
return AppUtil.success();
|
|
return AppUtil.success();
|
|
@@ -36,12 +36,12 @@ public class TaskController extends BaseController {
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
- * http://localhost:8080/sapcms/task/createOrUpdateWXUsersAnon
|
|
|
|
|
|
+ * http://localhost:8080/sapcms/task/createOrUpdateWXUsers
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
- @RequestMapping(value = "/createOrUpdateWXUsersAnon", produces = "application/json;charset=utf-8")
|
|
|
|
|
|
+ @RequestMapping(value = "/createOrUpdateWXUsers", produces = "application/json;charset=utf-8")
|
|
@ResponseBody
|
|
@ResponseBody
|
|
- public Object createOrUpdateWXUsersAnon() {
|
|
|
|
|
|
+ public Object createOrUpdateWXUsers() {
|
|
try {
|
|
try {
|
|
testUserService.createOrUpdateWXUsers();
|
|
testUserService.createOrUpdateWXUsers();
|
|
return AppUtil.success();
|
|
return AppUtil.success();
|
|
@@ -52,12 +52,12 @@ public class TaskController extends BaseController {
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
- * http://localhost:8080/sapcms/task/saveSapAllReportDataAnon
|
|
|
|
|
|
+ * http://localhost:8080/sapcms/task/saveSapAllReportData
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
- @RequestMapping(value = "/saveSapAllReportDataAnon", produces = "application/json;charset=utf-8")
|
|
|
|
|
|
+ @RequestMapping(value = "/saveSapAllReportData", produces = "application/json;charset=utf-8")
|
|
@ResponseBody
|
|
@ResponseBody
|
|
- public Object saveSapAllReportDataAnon() {
|
|
|
|
|
|
+ public Object saveSapAllReportData() {
|
|
try {
|
|
try {
|
|
sapReportService.saveSapAllReportData();
|
|
sapReportService.saveSapAllReportData();
|
|
return AppUtil.success();
|
|
return AppUtil.success();
|