|
@@ -16,6 +16,7 @@ import io.swagger.annotations.ApiOperation;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
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.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
|
@@ -50,13 +51,13 @@ public class FosterwxCashWorkClientController {
|
|
|
|
|
|
|
|
@PostMapping("/getTaskInfo")
|
|
@PostMapping("/getTaskInfo")
|
|
|
@ApiOperation(value = "返回凌晨到当前时间的未发送的数据,主体 昵称/团队id 昵称 两两一组必须有数据")
|
|
@ApiOperation(value = "返回凌晨到当前时间的未发送的数据,主体 昵称/团队id 昵称 两两一组必须有数据")
|
|
|
- public Object getTaskInfo(FosterwxWorkServeHandle handle) {
|
|
|
|
|
|
|
+ public Object getTaskInfo(@RequestBody FosterwxWorkServeHandle handle) {
|
|
|
log.info("客户端请求的信息:{}", handle);
|
|
log.info("客户端请求的信息:{}", handle);
|
|
|
|
|
|
|
|
String errInfo = checkParam(handle);
|
|
String errInfo = checkParam(handle);
|
|
|
|
|
|
|
|
// 报错的的情况返回报错信息
|
|
// 报错的的情况返回报错信息
|
|
|
- if (!errInfo.isEmpty()) return AjaxResult.error(errInfo);
|
|
|
|
|
|
|
+ if (null != errInfo && !errInfo.isEmpty()) return AjaxResult.error(errInfo);
|
|
|
|
|
|
|
|
// 根据参数获取账号信息
|
|
// 根据参数获取账号信息
|
|
|
FosterwxMobile fosterwxMobile = getAccountInfo(handle);
|
|
FosterwxMobile fosterwxMobile = getAccountInfo(handle);
|
|
@@ -134,6 +135,8 @@ public class FosterwxCashWorkClientController {
|
|
|
|
|
|
|
|
return fosterwxMobile;
|
|
return fosterwxMobile;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ return null;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|