增加项目,分层
This commit is contained in:
1 parent
6e995a5bdb
commit
0a3e5af6a9
234 files changed
+26994
-1
No files matched your search
@@ -0,0 +1,32 @@
|
||||
using Autofac;
|
||||
using LittleCow.Core.Infrastructure;
|
||||
using MAX.Core.Autofac;
|
||||
using MAX.Core.Cryptography;
|
||||
using MAX.Core.DependencyInjection;
|
||||
using Store.Client;
|
||||
using Store.Client.Apis;
|
||||
using Store.Client.HttpExtension;
|
||||
using Store.Client.Services;
|
||||
|
||||
namespace Store.Test;
|
||||
|
||||
public class Tests
|
||||
{
|
||||
[SetUp]
|
||||
public void Setup()
|
||||
{
|
||||
Bootstrap.Builder();
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void TestUserLogin()
|
||||
{
|
||||
IocManager.Resolve<UserService>().Login(new Framework.Models.UserInfo
|
||||
{
|
||||
UserName = "18990991234",
|
||||
Password = "18990991234"
|
||||
});
|
||||
//new UserApi().Login("18990991234", MD5Helper.Md5_Lower32("18990991234"));
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user