|
@@ -37,8 +37,8 @@ public class TrajectoryController {
|
|
|
@PostMapping("/save")
|
|
|
@ValidateApi(method = "trajectory:save")
|
|
|
public ResultData save(@RequestBody @Valid TrajectoryParamVO param) throws IOException {
|
|
|
- if(StrUtil.isNotEmpty(param.getContent())){
|
|
|
- String[] split = param.getContent().split(",");
|
|
|
+ if(StrUtil.isNotEmpty(param.getPosition())){
|
|
|
+ String[] split = param.getPosition().split(",");
|
|
|
if (split.length!=4){
|
|
|
throw new BusinessException(-1,"数据长度不为4");
|
|
|
}
|