增加项目,分层
This commit is contained in:
1 parent
6e995a5bdb
commit
0a3e5af6a9
234 files changed
+26994
-1
No files matched your search
@@ -0,0 +1,38 @@
|
||||
using Autofac;
|
||||
using MAX.Core;
|
||||
using MAX.Core.Infrastructure;
|
||||
using Store.Client;
|
||||
using Store.Management.Framework.Configs;
|
||||
|
||||
namespace Store.Management.Framework
|
||||
{
|
||||
/// <summary>
|
||||
/// Management 项目启动注册。
|
||||
/// </summary>
|
||||
public class Startup : IStartup
|
||||
{
|
||||
private const string ManagementHost = "http://1.13.195.131:9000";
|
||||
private const string ApiObjUrl = "obj=api&act=";
|
||||
// PostWx 会追加 wxxd_,最终 obj 为 29wx/wxxd_{urlPath}。
|
||||
private const string ManagementObjUrl = "obj=29wx/";
|
||||
|
||||
public int Priority => IntPriority.Normal;
|
||||
|
||||
public void Initialize()
|
||||
{
|
||||
}
|
||||
|
||||
public void Register(ContainerBuilder builder)
|
||||
{
|
||||
//builder
|
||||
// .RegisterServiceConfig(
|
||||
// ServiceConfigKeys.Default,
|
||||
// ManagementHost,
|
||||
// ApiObjUrl)
|
||||
// .RegisterServiceConfig(
|
||||
// ManagementServiceConfigKeys.Default,
|
||||
// ManagementHost,
|
||||
// ManagementObjUrl);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user