java开发erp源码
YibanERP
SpringBoot
+
前端MVVM
Vue.js
基于Java的微服务全栈快速开发实践
后端API代码
@RestController
@RequestMapping("/api/persons")
public
class
MainController
{
@RequestMapping(
value
=
"/detail/{id}",
method
=
RequestMethod.GET,
produces
=
MediaType.APPLICATION_JSON_VALUE
)
public
ResponseEntity
getUserDetail(@PathVariable
Long
id)
{
/*
*
@api
{GET}
/api/persons/detail/:id
details
info
*
@apiName
GetPersonDetails
*
@apiGroup
Info
Manage
*
@apiVersion
1.0.0
*
*
@apiExample
{httpie}
Example
usag
2021-10-06 17:13:54
29.45MB
系统开源
1