Merge branch 'main' of https://git.mowei.com.cn/wyh/gan into main
commit
5fb7848dc8
|
|
@ -43,7 +43,7 @@ public class AppDynamicCommentController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 查询动态评论列表
|
* 查询动态评论列表
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("app:comment:list")
|
// @RequiresPermissions("app:comment:list")
|
||||||
@GetMapping("/list")
|
@GetMapping("/list")
|
||||||
@ApiOperation(value = "动态评论列表", notes = "动态评论列表", httpMethod = "GET")
|
@ApiOperation(value = "动态评论列表", notes = "动态评论列表", httpMethod = "GET")
|
||||||
public TableDataInfo list(AppDynamicComment appDynamicComment)
|
public TableDataInfo list(AppDynamicComment appDynamicComment)
|
||||||
|
|
@ -56,7 +56,7 @@ public class AppDynamicCommentController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 导出动态评论列表
|
* 导出动态评论列表
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("app:comment:export")
|
// @RequiresPermissions("app:comment:export")
|
||||||
@Log(title = "动态评论", businessType = BusinessType.EXPORT)
|
@Log(title = "动态评论", businessType = BusinessType.EXPORT)
|
||||||
@PostMapping("/export")
|
@PostMapping("/export")
|
||||||
@ApiOperation(value = "导出动态评论列表", notes = "导出动态评论列表", httpMethod = "POST")
|
@ApiOperation(value = "导出动态评论列表", notes = "导出动态评论列表", httpMethod = "POST")
|
||||||
|
|
@ -70,7 +70,7 @@ public class AppDynamicCommentController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 获取动态评论详细信息
|
* 获取动态评论详细信息
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("app:comment:query")
|
// @RequiresPermissions("app:comment:query")
|
||||||
@GetMapping(value = "/{id}")
|
@GetMapping(value = "/{id}")
|
||||||
@ApiOperation(value = "获取动态评论详细信息", notes = "获取动态评论详细信息", httpMethod = "GET")
|
@ApiOperation(value = "获取动态评论详细信息", notes = "获取动态评论详细信息", httpMethod = "GET")
|
||||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||||
|
|
@ -81,7 +81,7 @@ public class AppDynamicCommentController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 新增动态评论
|
* 新增动态评论
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("app:comment:add")
|
// @RequiresPermissions("app:comment:add")
|
||||||
@Log(title = "动态评论", businessType = BusinessType.INSERT)
|
@Log(title = "动态评论", businessType = BusinessType.INSERT)
|
||||||
@PostMapping(value = "/add")
|
@PostMapping(value = "/add")
|
||||||
@ApiOperation(value = "新增动态评论", notes = "新增动态评论", httpMethod = "POST")
|
@ApiOperation(value = "新增动态评论", notes = "新增动态评论", httpMethod = "POST")
|
||||||
|
|
@ -93,7 +93,7 @@ public class AppDynamicCommentController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 修改动态评论
|
* 修改动态评论
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("app:comment:edit")
|
// @RequiresPermissions("app:comment:edit")
|
||||||
@Log(title = "动态评论", businessType = BusinessType.UPDATE)
|
@Log(title = "动态评论", businessType = BusinessType.UPDATE)
|
||||||
@PutMapping(value = "/edit")
|
@PutMapping(value = "/edit")
|
||||||
@ApiOperation(value = "修改动态评论", notes = "修改动态评论", httpMethod = "PUT")
|
@ApiOperation(value = "修改动态评论", notes = "修改动态评论", httpMethod = "PUT")
|
||||||
|
|
@ -105,7 +105,7 @@ public class AppDynamicCommentController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 删除动态评论
|
* 删除动态评论
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("app:comment:remove")
|
// @RequiresPermissions("app:comment:remove")
|
||||||
@Log(title = "动态评论", businessType = BusinessType.DELETE)
|
@Log(title = "动态评论", businessType = BusinessType.DELETE)
|
||||||
@DeleteMapping("/{ids}")
|
@DeleteMapping("/{ids}")
|
||||||
@ApiOperation(value = "删除动态评论", notes = "删除动态评论", httpMethod = "DELETE")
|
@ApiOperation(value = "删除动态评论", notes = "删除动态评论", httpMethod = "DELETE")
|
||||||
|
|
@ -114,7 +114,7 @@ public class AppDynamicCommentController extends BaseController
|
||||||
return toAjax(appDynamicCommentService.deleteAppDynamicCommentByIds(ids));
|
return toAjax(appDynamicCommentService.deleteAppDynamicCommentByIds(ids));
|
||||||
}
|
}
|
||||||
|
|
||||||
@RequiresPermissions("app:comment:list")
|
// @RequiresPermissions("app:comment:list")
|
||||||
@GetMapping("/treeList")
|
@GetMapping("/treeList")
|
||||||
@ApiOperation(value = "评论树列表", notes = "评论树列表", httpMethod = "GET")
|
@ApiOperation(value = "评论树列表", notes = "评论树列表", httpMethod = "GET")
|
||||||
public TableDataInfo treeList(AppDynamicComment appDynamicComment) {
|
public TableDataInfo treeList(AppDynamicComment appDynamicComment) {
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ public class AppDynamicImgController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 查询App用户动态图片信息列表
|
* 查询App用户动态图片信息列表
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("app:img:list")
|
// @RequiresPermissions("app:img:list")
|
||||||
@GetMapping("/list")
|
@GetMapping("/list")
|
||||||
public TableDataInfo list(AppDynamicImg appDynamicImg)
|
public TableDataInfo list(AppDynamicImg appDynamicImg)
|
||||||
{
|
{
|
||||||
|
|
@ -53,7 +53,7 @@ public class AppDynamicImgController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 导出App用户动态图片信息列表
|
* 导出App用户动态图片信息列表
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("app:img:export")
|
// @RequiresPermissions("app:img:export")
|
||||||
@Log(title = "App用户动态图片信息", businessType = BusinessType.EXPORT)
|
@Log(title = "App用户动态图片信息", businessType = BusinessType.EXPORT)
|
||||||
@PostMapping("/export")
|
@PostMapping("/export")
|
||||||
public void export(HttpServletResponse response, AppDynamicImg appDynamicImg)
|
public void export(HttpServletResponse response, AppDynamicImg appDynamicImg)
|
||||||
|
|
@ -66,7 +66,7 @@ public class AppDynamicImgController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 获取App用户动态图片信息详细信息
|
* 获取App用户动态图片信息详细信息
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("app:img:query")
|
// @RequiresPermissions("app:img:query")
|
||||||
@GetMapping(value = "/{id}")
|
@GetMapping(value = "/{id}")
|
||||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||||
{
|
{
|
||||||
|
|
@ -76,7 +76,7 @@ public class AppDynamicImgController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 新增App用户动态图片信息
|
* 新增App用户动态图片信息
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("app:img:add")
|
// @RequiresPermissions("app:img:add")
|
||||||
@Log(title = "App用户动态图片信息", businessType = BusinessType.INSERT)
|
@Log(title = "App用户动态图片信息", businessType = BusinessType.INSERT)
|
||||||
@PostMapping
|
@PostMapping
|
||||||
public AjaxResult add(@RequestBody AppDynamicImg appDynamicImg)
|
public AjaxResult add(@RequestBody AppDynamicImg appDynamicImg)
|
||||||
|
|
@ -87,7 +87,7 @@ public class AppDynamicImgController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 修改App用户动态图片信息
|
* 修改App用户动态图片信息
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("app:img:edit")
|
// @RequiresPermissions("app:img:edit")
|
||||||
@Log(title = "App用户动态图片信息", businessType = BusinessType.UPDATE)
|
@Log(title = "App用户动态图片信息", businessType = BusinessType.UPDATE)
|
||||||
@PutMapping
|
@PutMapping
|
||||||
public AjaxResult edit(@RequestBody AppDynamicImg appDynamicImg)
|
public AjaxResult edit(@RequestBody AppDynamicImg appDynamicImg)
|
||||||
|
|
@ -98,7 +98,7 @@ public class AppDynamicImgController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 删除App用户动态图片信息
|
* 删除App用户动态图片信息
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("app:img:remove")
|
// @RequiresPermissions("app:img:remove")
|
||||||
@Log(title = "App用户动态图片信息", businessType = BusinessType.DELETE)
|
@Log(title = "App用户动态图片信息", businessType = BusinessType.DELETE)
|
||||||
@DeleteMapping("/{ids}")
|
@DeleteMapping("/{ids}")
|
||||||
public AjaxResult remove(@PathVariable Long[] ids)
|
public AjaxResult remove(@PathVariable Long[] ids)
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@ public class AppDynamicLikeController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 查询动态点赞列表
|
* 查询动态点赞列表
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("app:like:list")
|
// @RequiresPermissions("app:like:list")
|
||||||
@GetMapping("/list")
|
@GetMapping("/list")
|
||||||
@ApiOperation(value = "查询动态点赞列表", notes = "查询动态点赞列表", httpMethod = "GET")
|
@ApiOperation(value = "查询动态点赞列表", notes = "查询动态点赞列表", httpMethod = "GET")
|
||||||
public TableDataInfo list(AppDynamicLike appDynamicLike)
|
public TableDataInfo list(AppDynamicLike appDynamicLike)
|
||||||
|
|
@ -55,7 +55,7 @@ public class AppDynamicLikeController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 导出动态点赞列表
|
* 导出动态点赞列表
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("app:like:export")
|
// @RequiresPermissions("app:like:export")
|
||||||
@Log(title = "动态点赞", businessType = BusinessType.EXPORT)
|
@Log(title = "动态点赞", businessType = BusinessType.EXPORT)
|
||||||
@PostMapping("/export")
|
@PostMapping("/export")
|
||||||
@ApiOperation(value = "导出动态点赞列表", notes = "导出动态点赞列表", httpMethod = "POST")
|
@ApiOperation(value = "导出动态点赞列表", notes = "导出动态点赞列表", httpMethod = "POST")
|
||||||
|
|
@ -69,7 +69,7 @@ public class AppDynamicLikeController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 获取动态点赞详细信息
|
* 获取动态点赞详细信息
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("app:like:query")
|
// @RequiresPermissions("app:like:query")
|
||||||
@GetMapping(value = "/{id}")
|
@GetMapping(value = "/{id}")
|
||||||
@ApiOperation(value = "获取动态点赞详细信息", notes = "获取动态点赞详细信息", httpMethod = "GET")
|
@ApiOperation(value = "获取动态点赞详细信息", notes = "获取动态点赞详细信息", httpMethod = "GET")
|
||||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||||
|
|
@ -80,7 +80,7 @@ public class AppDynamicLikeController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 新增动态点赞
|
* 新增动态点赞
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("app:like:add")
|
// @RequiresPermissions("app:like:add")
|
||||||
@Log(title = "动态点赞", businessType = BusinessType.INSERT)
|
@Log(title = "动态点赞", businessType = BusinessType.INSERT)
|
||||||
@PostMapping(value = "/add")
|
@PostMapping(value = "/add")
|
||||||
@ApiOperation(value = "新增动态点赞", notes = "新增动态点赞", httpMethod = "POST")
|
@ApiOperation(value = "新增动态点赞", notes = "新增动态点赞", httpMethod = "POST")
|
||||||
|
|
@ -92,7 +92,7 @@ public class AppDynamicLikeController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 修改动态点赞
|
* 修改动态点赞
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("app:like:edit")
|
// @RequiresPermissions("app:like:edit")
|
||||||
@Log(title = "动态点赞", businessType = BusinessType.UPDATE)
|
@Log(title = "动态点赞", businessType = BusinessType.UPDATE)
|
||||||
@PutMapping(value = "/edit")
|
@PutMapping(value = "/edit")
|
||||||
@ApiOperation(value = "修改动态点赞", notes = "修改动态点赞", httpMethod = "PUT")
|
@ApiOperation(value = "修改动态点赞", notes = "修改动态点赞", httpMethod = "PUT")
|
||||||
|
|
@ -104,7 +104,7 @@ public class AppDynamicLikeController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 删除动态点赞
|
* 删除动态点赞
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("app:like:remove")
|
// @RequiresPermissions("app:like:remove")
|
||||||
@Log(title = "动态点赞", businessType = BusinessType.DELETE)
|
@Log(title = "动态点赞", businessType = BusinessType.DELETE)
|
||||||
@DeleteMapping("/{ids}")
|
@DeleteMapping("/{ids}")
|
||||||
@ApiOperation(value = "删除动态点赞", notes = "删除动态点赞", httpMethod = "DELETE")
|
@ApiOperation(value = "删除动态点赞", notes = "删除动态点赞", httpMethod = "DELETE")
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ public class AppExchangeCodeController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 查询兑换码列表
|
* 查询兑换码列表
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("app:code:list")
|
// @RequiresPermissions("app:code:list")
|
||||||
@GetMapping("/list")
|
@GetMapping("/list")
|
||||||
@ApiOperation(value = "查询兑换码", notes = "查询兑换码", httpMethod = "GET")
|
@ApiOperation(value = "查询兑换码", notes = "查询兑换码", httpMethod = "GET")
|
||||||
public TableDataInfo list(AppExchangeCode appExchangeCode)
|
public TableDataInfo list(AppExchangeCode appExchangeCode)
|
||||||
|
|
@ -56,7 +56,7 @@ public class AppExchangeCodeController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 导出兑换码列表
|
* 导出兑换码列表
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("app:code:export")
|
// @RequiresPermissions("app:code:export")
|
||||||
@Log(title = "兑换码", businessType = BusinessType.EXPORT)
|
@Log(title = "兑换码", businessType = BusinessType.EXPORT)
|
||||||
@PostMapping("/export")
|
@PostMapping("/export")
|
||||||
public void export(HttpServletResponse response, AppExchangeCode appExchangeCode)
|
public void export(HttpServletResponse response, AppExchangeCode appExchangeCode)
|
||||||
|
|
@ -69,7 +69,7 @@ public class AppExchangeCodeController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 获取兑换码详细信息
|
* 获取兑换码详细信息
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("app:code:query")
|
// @RequiresPermissions("app:code:query")
|
||||||
@GetMapping(value = "/{id}")
|
@GetMapping(value = "/{id}")
|
||||||
@ApiOperation(value = "获取兑换码详细信息", notes = "获取兑换码详细信息", httpMethod = "GET")
|
@ApiOperation(value = "获取兑换码详细信息", notes = "获取兑换码详细信息", httpMethod = "GET")
|
||||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||||
|
|
@ -80,7 +80,7 @@ public class AppExchangeCodeController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 新增兑换码
|
* 新增兑换码
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("app:code:add")
|
// @RequiresPermissions("app:code:add")
|
||||||
@ApiOperation(value = "新增兑换码", notes = "新增兑换码", httpMethod = "POST")
|
@ApiOperation(value = "新增兑换码", notes = "新增兑换码", httpMethod = "POST")
|
||||||
@Log(title = "兑换码", businessType = BusinessType.INSERT)
|
@Log(title = "兑换码", businessType = BusinessType.INSERT)
|
||||||
@PostMapping("/add")
|
@PostMapping("/add")
|
||||||
|
|
@ -92,7 +92,7 @@ public class AppExchangeCodeController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 修改兑换码
|
* 修改兑换码
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("app:code:edit")
|
// @RequiresPermissions("app:code:edit")
|
||||||
@ApiOperation(value = "修改兑换码", notes = "修改兑换码", httpMethod = "PUT")
|
@ApiOperation(value = "修改兑换码", notes = "修改兑换码", httpMethod = "PUT")
|
||||||
@Log(title = "兑换码", businessType = BusinessType.UPDATE)
|
@Log(title = "兑换码", businessType = BusinessType.UPDATE)
|
||||||
@PutMapping("/edit")
|
@PutMapping("/edit")
|
||||||
|
|
@ -104,7 +104,7 @@ public class AppExchangeCodeController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 删除兑换码
|
* 删除兑换码
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("app:code:remove")
|
// @RequiresPermissions("app:code:remove")
|
||||||
@Log(title = "兑换码", businessType = BusinessType.DELETE)
|
@Log(title = "兑换码", businessType = BusinessType.DELETE)
|
||||||
@DeleteMapping("/{ids}")
|
@DeleteMapping("/{ids}")
|
||||||
public AjaxResult remove(@PathVariable Long[] ids)
|
public AjaxResult remove(@PathVariable Long[] ids)
|
||||||
|
|
|
||||||
|
|
@ -50,7 +50,7 @@ public class AppUserController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 查询app用户列表
|
* 查询app用户列表
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("app:user:list")
|
// @RequiresPermissions("app:user:list")
|
||||||
@GetMapping("/list")
|
@GetMapping("/list")
|
||||||
@ApiOperation(value = "app用户列表", notes = "app用户列表", httpMethod = "GET")
|
@ApiOperation(value = "app用户列表", notes = "app用户列表", httpMethod = "GET")
|
||||||
public TableDataInfo list(AppUser appUser)
|
public TableDataInfo list(AppUser appUser)
|
||||||
|
|
@ -63,7 +63,7 @@ public class AppUserController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 导出app用户列表
|
* 导出app用户列表
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("app:user:export")
|
// @RequiresPermissions("app:user:export")
|
||||||
@Log(title = "app用户", businessType = BusinessType.EXPORT)
|
@Log(title = "app用户", businessType = BusinessType.EXPORT)
|
||||||
@PostMapping("/export")
|
@PostMapping("/export")
|
||||||
@ApiOperation(value = "导出用户", notes = "导出用户", httpMethod = "POST")
|
@ApiOperation(value = "导出用户", notes = "导出用户", httpMethod = "POST")
|
||||||
|
|
@ -77,7 +77,7 @@ public class AppUserController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 获取app用户详细信息
|
* 获取app用户详细信息
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("app:user:query")
|
// @RequiresPermissions("app:user:query")
|
||||||
@GetMapping(value = "/{id}")
|
@GetMapping(value = "/{id}")
|
||||||
@ApiOperation(value = "获取app用户详细信息", notes = "获取app用户详细信息", httpMethod = "GET")
|
@ApiOperation(value = "获取app用户详细信息", notes = "获取app用户详细信息", httpMethod = "GET")
|
||||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||||
|
|
@ -88,7 +88,7 @@ public class AppUserController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 新增app用户
|
* 新增app用户
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("app:user:add")
|
// @RequiresPermissions("app:user:add")
|
||||||
@Log(title = "app用户", businessType = BusinessType.INSERT)
|
@Log(title = "app用户", businessType = BusinessType.INSERT)
|
||||||
@PostMapping("/add")
|
@PostMapping("/add")
|
||||||
@ApiOperation(value = "新增app用户", notes = "新增app用户", httpMethod = "POST")
|
@ApiOperation(value = "新增app用户", notes = "新增app用户", httpMethod = "POST")
|
||||||
|
|
@ -112,7 +112,7 @@ public class AppUserController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 删除app用户
|
* 删除app用户
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("app:user:remove")
|
// @RequiresPermissions("app:user:remove")
|
||||||
@Log(title = "app用户", businessType = BusinessType.DELETE)
|
@Log(title = "app用户", businessType = BusinessType.DELETE)
|
||||||
@DeleteMapping("/{ids}")
|
@DeleteMapping("/{ids}")
|
||||||
@ApiOperation(value = "批量删除app用户", notes = "批量删除app用户", httpMethod = "DELETE")
|
@ApiOperation(value = "批量删除app用户", notes = "批量删除app用户", httpMethod = "DELETE")
|
||||||
|
|
|
||||||
|
|
@ -79,7 +79,7 @@ public class AppUserDynamicController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 获取App用户动态详细信息
|
* 获取App用户动态详细信息
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("app:dynamic:query")
|
// @RequiresPermissions("app:dynamic:query")
|
||||||
@GetMapping(value = "/{id}")
|
@GetMapping(value = "/{id}")
|
||||||
@ApiOperation(value = "获取App用户动态详细信息", notes = "获取App用户动态详细信息", httpMethod = "GET")
|
@ApiOperation(value = "获取App用户动态详细信息", notes = "获取App用户动态详细信息", httpMethod = "GET")
|
||||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||||
|
|
@ -90,7 +90,7 @@ public class AppUserDynamicController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 新增App用户动态
|
* 新增App用户动态
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("app:dynamic:add")
|
// @RequiresPermissions("app:dynamic:add")
|
||||||
@Log(title = "App用户动态", businessType = BusinessType.INSERT)
|
@Log(title = "App用户动态", businessType = BusinessType.INSERT)
|
||||||
@PostMapping(value = "/add")
|
@PostMapping(value = "/add")
|
||||||
@ApiOperation(value = "新增App用户动态", notes = "新增App用户动态", httpMethod = "POST")
|
@ApiOperation(value = "新增App用户动态", notes = "新增App用户动态", httpMethod = "POST")
|
||||||
|
|
@ -102,7 +102,7 @@ public class AppUserDynamicController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 修改App用户动态
|
* 修改App用户动态
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("app:dynamic:edit")
|
// @RequiresPermissions("app:dynamic:edit")
|
||||||
@Log(title = "App用户动态", businessType = BusinessType.UPDATE)
|
@Log(title = "App用户动态", businessType = BusinessType.UPDATE)
|
||||||
@PutMapping(value = "/edit")
|
@PutMapping(value = "/edit")
|
||||||
@ApiOperation(value = "修改App用户动态", notes = "修改App用户动态", httpMethod = "PUT")
|
@ApiOperation(value = "修改App用户动态", notes = "修改App用户动态", httpMethod = "PUT")
|
||||||
|
|
@ -114,7 +114,7 @@ public class AppUserDynamicController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 删除App用户动态
|
* 删除App用户动态
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("app:dynamic:remove")
|
// @RequiresPermissions("app:dynamic:remove")
|
||||||
@Log(title = "App用户动态", businessType = BusinessType.DELETE)
|
@Log(title = "App用户动态", businessType = BusinessType.DELETE)
|
||||||
@DeleteMapping("/{ids}")
|
@DeleteMapping("/{ids}")
|
||||||
@ApiOperation(value = "删除App用户动态", notes = "删除App用户动态", httpMethod = "DELETE")
|
@ApiOperation(value = "删除App用户动态", notes = "删除App用户动态", httpMethod = "DELETE")
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ public class AppUserFriendController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 查询用户好友列表
|
* 查询用户好友列表
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("app:friend:list")
|
// @RequiresPermissions("app:friend:list")
|
||||||
@GetMapping("/list")
|
@GetMapping("/list")
|
||||||
@ApiOperation(value = "查询用户好友列表", notes = "查询用户好友列表", httpMethod = "GET")
|
@ApiOperation(value = "查询用户好友列表", notes = "查询用户好友列表", httpMethod = "GET")
|
||||||
public TableDataInfo list(AppUserFriend appUserFriend)
|
public TableDataInfo list(AppUserFriend appUserFriend)
|
||||||
|
|
@ -70,7 +70,7 @@ public class AppUserFriendController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 获取用户好友详细信息
|
* 获取用户好友详细信息
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("app:friend:query")
|
// @RequiresPermissions("app:friend:query")
|
||||||
@GetMapping(value = "/{id}")
|
@GetMapping(value = "/{id}")
|
||||||
@ApiOperation(value = "获取用户好友详细信息", notes = "获取用户好友详细信息", httpMethod = "GET")
|
@ApiOperation(value = "获取用户好友详细信息", notes = "获取用户好友详细信息", httpMethod = "GET")
|
||||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||||
|
|
@ -81,7 +81,7 @@ public class AppUserFriendController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 新增用户好友
|
* 新增用户好友
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("app:friend:add")
|
// @RequiresPermissions("app:friend:add")
|
||||||
@Log(title = "用户好友", businessType = BusinessType.INSERT)
|
@Log(title = "用户好友", businessType = BusinessType.INSERT)
|
||||||
@PostMapping(value = "/add")
|
@PostMapping(value = "/add")
|
||||||
@ApiOperation(value = "新增用户好友", notes = "新增用户好友", httpMethod = "POST")
|
@ApiOperation(value = "新增用户好友", notes = "新增用户好友", httpMethod = "POST")
|
||||||
|
|
@ -93,7 +93,7 @@ public class AppUserFriendController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 修改用户好友
|
* 修改用户好友
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("app:friend:edit")
|
// @RequiresPermissions("app:friend:edit")
|
||||||
@Log(title = "用户好友", businessType = BusinessType.UPDATE)
|
@Log(title = "用户好友", businessType = BusinessType.UPDATE)
|
||||||
@PutMapping(value = "/edit")
|
@PutMapping(value = "/edit")
|
||||||
@ApiOperation(value = "修改用户好友", notes = "修改用户好友", httpMethod = "PUT")
|
@ApiOperation(value = "修改用户好友", notes = "修改用户好友", httpMethod = "PUT")
|
||||||
|
|
@ -105,7 +105,7 @@ public class AppUserFriendController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 删除用户好友
|
* 删除用户好友
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("app:friend:remove")
|
// @RequiresPermissions("app:friend:remove")
|
||||||
@Log(title = "用户好友", businessType = BusinessType.DELETE)
|
@Log(title = "用户好友", businessType = BusinessType.DELETE)
|
||||||
@DeleteMapping("/{ids}")
|
@DeleteMapping("/{ids}")
|
||||||
@ApiOperation(value = "删除用户好友", notes = "删除用户好友", httpMethod = "DELETE")
|
@ApiOperation(value = "删除用户好友", notes = "删除用户好友", httpMethod = "DELETE")
|
||||||
|
|
|
||||||
|
|
@ -319,6 +319,13 @@ public class PayController extends BaseController
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@RequestMapping(value = "/test")
|
||||||
|
public AjaxResult test(){
|
||||||
|
System.out.println("测试成功");
|
||||||
|
return AjaxResult.success("测试成功");
|
||||||
|
}
|
||||||
|
|
||||||
public void updateUser(AppOrder appOrder){
|
public void updateUser(AppOrder appOrder){
|
||||||
// 修改用户信息
|
// 修改用户信息
|
||||||
AppUser appUser = appUserMapper.selectAppUserById(appOrder.getUserId());
|
AppUser appUser = appUserMapper.selectAppUserById(appOrder.getUserId());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue