企业列表出来了
parent
a20078f719
commit
1eef3b1fd3
|
@ -101,7 +101,7 @@ public class SysApitypeController extends BaseController
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("market:apitype:remove")
|
@RequiresPermissions("market:apitype:remove")
|
||||||
@Log(title = "接口", businessType = BusinessType.DELETE)
|
@Log(title = "接口", businessType = BusinessType.DELETE)
|
||||||
@DeleteMapping("/{sysIds}")
|
@DeleteMapping("/{sysIds}")
|
||||||
public Result remove(@PathVariable Long[] sysIds)
|
public Result remove(@PathVariable Long[] sysIds)
|
||||||
{
|
{
|
||||||
return toAjax(sysApitypeService.deleteSysApitypeBySysIds(sysIds));
|
return toAjax(sysApitypeService.deleteSysApitypeBySysIds(sysIds));
|
||||||
|
@ -129,9 +129,8 @@ public class SysApitypeController extends BaseController
|
||||||
return JavaGetConfig.standing(standing);
|
return JavaGetConfig.standing(standing);
|
||||||
}
|
}
|
||||||
|
|
||||||
@PostMapping("/standing/{res}")
|
@PostMapping("/standing/{res}/{userId}")
|
||||||
public Result updateCreateByUserId(@PathVariable("res") Integer res) {
|
public Result updateCreateByUserId(@PathVariable("res") Integer res,@PathVariable("userId") Long userId) {
|
||||||
Long userId = SecurityUtils.getUserId();
|
|
||||||
UserRole userRole = sysApitypeService.selectUserRoleByUserId(userId);
|
UserRole userRole = sysApitypeService.selectUserRoleByUserId(userId);
|
||||||
if(res!=1||userRole!=null){
|
if(res!=1||userRole!=null){
|
||||||
return Result.error();
|
return Result.error();
|
||||||
|
|
Loading…
Reference in New Issue