@Controller @RequestMapping(value="admin/coreupd") public class CoreUserPdataController extends BaseController
DOWNLOAD_ID_COOKIE_EXPIRY, DOWNLOAD_ID_NAME
构造器和说明 |
---|
CoreUserPdataController() |
限定符和类型 | 方法和说明 |
---|---|
RetVo |
add(CoreUserPdata upd)
添加用户私有数据
|
RetVo |
modify(CoreUserPdata upd)
修改用户私有数据
|
RetVo |
query(java.lang.String updId,
java.lang.String userId)
查询获取用户私有数据
|
RetVo |
remove(java.util.Map<java.lang.String,java.lang.String> params)
删除用户私有数据
|
commonsDownloadEx, commonsUploadEx, getUploadNewFileName, setResponseContentType, setResponseContentTypeAndStatus, setResponseHttpStatus, writeJsonToResponse
@ResponseBody @RequestMapping(value="add", method=PUT) public RetVo add(@RequestBody CoreUserPdata upd) throws java.lang.Exception
upd
- 盘点数据java.lang.Exception
- 出错会抛出异常 出错抛出异常@ResponseBody @RequestMapping(value="modify", method=POST) public RetVo modify(CoreUserPdata upd) throws java.lang.Exception
upd
- 用户私有数据java.lang.Exception
- 出错会抛出异常@ResponseBody @RequestMapping(value="query", method=POST) public RetVo query(@RequestParam(name="updId",required=true) java.lang.String updId, @RequestParam(name="userId",required=false) java.lang.String userId) throws java.lang.Exception
updId
- 用户私有数据场景id,该参数不能为空userId
- 用户id,该参数不能为空java.lang.Exception
- 出错会抛出异常@ResponseBody @RequestMapping(value="remove", method=DELETE) public RetVo remove(@RequestParam java.util.Map<java.lang.String,java.lang.String> params) throws java.lang.Exception
params
- 移除的参数map = {ids:xxx} xxx是以逗号隔开的字符串java.lang.Exception
- 出错会抛出异常