去掉关联表权限,全局恢复默认10s超时

master
hansha 2 years ago
parent 6d6acd8f67
commit 7ca1d47875

@ -10,7 +10,6 @@ import com.da.common.utils.poi.ExcelUtil;
import com.da.dangan.domain.DaUserCatalog;
import com.da.dangan.service.IDaUserCatalogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.*;
@ -33,7 +32,7 @@ public class DaUserCatalogController extends BaseController
/**
*
*/
@PreAuthorize("@ss.hasPermi('dangan:userMuRelation:list')")
//@PreAuthorize("@ss.hasPermi('dangan:userMuRelation:list')")
@GetMapping("/list")
public TableDataInfo list(DaUserCatalog daUserCatalog)
{
@ -45,7 +44,7 @@ public class DaUserCatalogController extends BaseController
/**
*
*/
@PreAuthorize("@ss.hasPermi('dangan:userMuRelation:export')")
//@PreAuthorize("@ss.hasPermi('dangan:userMuRelation:export')")
@Log(title = "用户目录关联", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, DaUserCatalog daUserCatalog)
@ -58,7 +57,7 @@ public class DaUserCatalogController extends BaseController
/**
*
*/
@PreAuthorize("@ss.hasPermi('dangan:userMuRelation:query')")
//@PreAuthorize("@ss.hasPermi('dangan:userMuRelation:query')")
@GetMapping(value = "/{userId}")
public AjaxResult getInfo(@PathVariable("userId") Long userId)
{
@ -68,7 +67,7 @@ public class DaUserCatalogController extends BaseController
/**
*
*/
@PreAuthorize("@ss.hasPermi('dangan:userMuRelation:add')")
//@PreAuthorize("@ss.hasPermi('dangan:userMuRelation:add')")
@Log(title = "用户目录关联", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody DaUserCatalog daUserCatalog)
@ -119,7 +118,7 @@ public class DaUserCatalogController extends BaseController
/**
*
*/
@PreAuthorize("@ss.hasPermi('dangan:userMuRelation:remove')")
//@PreAuthorize("@ss.hasPermi('dangan:userMuRelation:remove')")
@Log(title = "用户目录关联", businessType = BusinessType.DELETE)
@DeleteMapping("/{userIds}")
public AjaxResult remove(@PathVariable Long[] userIds)

@ -16,8 +16,8 @@ axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8'
const service = axios.create({
// axios中请求配置有baseURL选项表示请求URL公共部分
baseURL: process.env.VUE_APP_BASE_API,
// 超时
timeout: 100000
// 10s超时
timeout: 10000
})
// request拦截器

Loading…
Cancel
Save