JSD-7747 开源任务材料
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

43 lines
1.5 KiB

package com.fr.plugin.loginAuth.dbAccessProvider;
import com.fr.decision.webservice.annotation.LoginStatusChecker;
import com.fr.third.springframework.stereotype.Controller;
import com.fr.third.springframework.web.bind.annotation.RequestMapping;
/**
* @author 秃破天际
* @version 10.0
* Created by 秃破天际 on 2021-04-25
**/
@Controller("DBAccessDemoController")
@LoginStatusChecker(required = false)
@RequestMapping(value = "/db/demo")
public class AuthUserController {
// @RequestMapping( value = "/dm_entity", method = RequestMethod.POST )
// @ResponseBody
// public Response add( @RequestBody AuthUserEntity bean )throws Exception{
// AuthUserDBController.add(bean);
// return Response.ok( bean );
// }
//
// @RequestMapping( value = "/dm_entity/{entity}", method = RequestMethod.DELETE )
// @ResponseBody
// public Response delete( @PathVariable("entity") String entity )throws Exception{
// return Response.ok( AuthUserDBController.deleteOrg(entity) );
// }
//
// @RequestMapping( value = "/dm_entity", method = RequestMethod.PUT )
// @ResponseBody
// public Response update( @RequestBody AuthUserEntity bean )throws Exception{
// AuthUserDBController.update(bean);
// return Response.ok( bean );
// }
//
// @RequestMapping( value = "/dm_entity", method = RequestMethod.GET )
// @ResponseBody
// public Response like( @RequestParam(value = "key") String key )throws Exception{
// return Response.ok( AuthUserDBController.like(key) );
// }
}