2 changed files with 37 additions and 0 deletions
@ -0,0 +1,32 @@ |
|||||||
|
package apelet.association.controller; |
||||||
|
|
||||||
|
import apelet.common.core.annotation.MyRequestBody; |
||||||
|
import apelet.common.core.object.MyPageParam; |
||||||
|
import apelet.common.core.object.ResponseResult; |
||||||
|
import apelet.common.core.object.TokenData; |
||||||
|
import com.github.pagehelper.page.PageMethod; |
||||||
|
import org.springframework.web.bind.annotation.*; |
||||||
|
|
||||||
|
import java.util.HashMap; |
||||||
|
import java.util.Map; |
||||||
|
|
||||||
|
|
||||||
|
@RestController |
||||||
|
@RequestMapping("/tenantadmin/project") |
||||||
|
public class ProjectListController { |
||||||
|
|
||||||
|
@GetMapping(value = "/list") |
||||||
|
public ResponseResult<?> list() { |
||||||
|
Map<String, Object> pammap= new HashMap<>(); |
||||||
|
return ResponseResult.success(pammap); |
||||||
|
} |
||||||
|
|
||||||
|
@PostMapping("/update") |
||||||
|
public ResponseResult<Void> update( |
||||||
|
@MyRequestBody String entryId){ |
||||||
|
|
||||||
|
return ResponseResult.success(null); |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
} |
||||||
Loading…
Reference in new issue