diff --git a/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/Controllers/BaseController/BaseCrudController.cs b/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/Controllers/BaseController/BaseCrudController.cs index bc8ea14d..f51a85ef 100644 --- a/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/Controllers/BaseController/BaseCrudController.cs +++ b/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/Controllers/BaseController/BaseCrudController.cs @@ -32,7 +32,7 @@ namespace Yi.Framework.ApiMicroservice.Controllers /// /// /// - [Permission($"{nameof(T)}:get:one")] + [Permission($"{nameof(T)}:get:list")] [HttpGet] public virtual async Task GetById(long id) { @@ -55,7 +55,7 @@ namespace Yi.Framework.ApiMicroservice.Controllers /// /// /// - [Permission($"{nameof(T)}:get:page")] + [Permission($"{nameof(T)}:get:list")] [HttpPost] public virtual async Task PageList(QueryPageCondition queryCondition) { @@ -91,7 +91,7 @@ namespace Yi.Framework.ApiMicroservice.Controllers /// /// /// - [Permission($"{nameof(T)}:delete:list")] + [Permission($"{nameof(T)}:del")] [HttpDelete] public virtual async Task DeleteList(List ids) { diff --git a/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/yi-sqlsugar-dev.db b/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/yi-sqlsugar-dev.db deleted file mode 100644 index 1ae5c4f1..00000000 Binary files a/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/yi-sqlsugar-dev.db and /dev/null differ diff --git a/Yi.Vue2.x/src/views/AdmUser.vue b/Yi.Vue2.x/src/views/AdmUser.vue index d796c930..3a55f1d1 100644 --- a/Yi.Vue2.x/src/views/AdmUser.vue +++ b/Yi.Vue2.x/src/views/AdmUser.vue @@ -104,7 +104,7 @@ export default { axiosUrls: {}, headers: [ { text: "用户名", value: "userName", sortable: false }, - { text: "密码", value: "password", sortable: false }, + { text: "图标", value: "icon", sortable: false }, { text: "昵称", value: "nick", sortable: true }, { text: "邮箱", value: "email", sortable: true },