You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
407 B
14 lines
407 B
using GDZZ.Core;
|
|
using GDZZ.Core.Entity;
|
|
|
|
namespace GDZZ.CodeFirst;
|
|
|
|
public class SysRoleDataScopeSeedData : ISeedData , ISqlSugarEntitySeedData<SysRoleDataScope>
|
|
{ public IEnumerable<SysRoleDataScope> HasData()
|
|
{ string json = @"[{""SysRoleId"":278024843124805,""SysOrgId"":278024843092037}]
|
|
";
|
|
List<SysRoleDataScope> list = JsonUtil.ToObject<List<SysRoleDataScope>>(json);
|
|
|
|
return list;
|
|
}}
|