You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Gateway/Proxy/Entities/Initializer.cs

37 lines
864 B
C#

2 years ago
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using UMC.Data;
using UMC.Data.Entities;
using UMC.Data.Sql;
using UMC.Net;
namespace UMC.Proxy.Entities
{
2 years ago
[Web.Mapping]
2 years ago
public class Initializer : UMC.Data.Sql.Initializer
2 years ago
{
2 years ago
public override string Name => "Proxy";
1 year ago
public override string Caption => "Web网关";
2 years ago
public override bool IsRegisterSetup => true;
public override void Setup(CSV.Log log)
{
2 years ago
Data.DataFactory.Instance().Put(new Menu()
{
Icon = "\uf085",
Caption = "应用管理",
IsHidden = false,
ParentId = 0,
Seq = 10,
Id = 200,
Url = "#proxy"
2 years ago
});
2 years ago
}
}
}