|
@@ -11,6 +11,8 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
+import java.util.HashMap;
|
|
|
+
|
|
|
/**
|
|
|
* <p>
|
|
|
* space sdk表 前端控制器
|
|
@@ -30,7 +32,9 @@ public class SpaceSdkController {
|
|
|
public Result list(@RequestBody JSONObject param) {
|
|
|
Integer platformType = param.getInteger("platformType");
|
|
|
Integer status = param.getInteger("status");
|
|
|
- return Result.success(spaceSdkService.getList(platformType,status));
|
|
|
+ HashMap<String,Object> map = new HashMap<>();
|
|
|
+ map.put("list",spaceSdkService.getList(platformType,status));
|
|
|
+ return Result.success(map);
|
|
|
}
|
|
|
}
|
|
|
|