在没有使用webpack+vue router开发中,想要获取RUL传的参数地址,直接通过一个函数就可以获得. 比如在 www.test.com/test.html?sign=test 地址中,想要获取sign的值,通常的方法是用一个函数, var getUrlStr = function(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); var r = wi
系统默认提供了获取当前用户的api方法 https://localhost:44364/api/identity/my-profile 手工实现方法:abp后台获取当前用户需要在AppService应用层注入CurrentUser currentUser,如本例 using System; using Volo.Abp.Application.Dtos; using Volo.Abp.Application.Services; using Volo.Abp.Domain.Repositories