Compare commits

..

No commits in common. "229dfbf5d1cab882599a71a24274b9de24f55429" and "6b885a0c3ebacc36c84b92ec860c7bbc08d4c5d1" have entirely different histories.

28 changed files with 46 additions and 459 deletions

View File

@ -1,69 +0,0 @@
kind: pipeline
type: docker
name: deployment
steps:
- name: check
image: alpine
commands:
- ls -la
- ls -la Dockerfile # 查看当前文件夹是否包含了Dockerfile
- name: publish
image: plugins/docker
settings:
username:
from_secret: nexus_username
password:
from_secret: nexus_password
pull: if-not-exists # 如果镜像不存在则拉取,免去每次都要重新下载
dockerfile: Dockerfile
tags: latest
# you need insecure: true since we don't have a TLS certificate
insecure: true
registry: 192.168.31.104:8082
repo: 192.168.31.104:8082/tiamo/user-point-management
volumes: # 将容器内目录挂载到宿主机仓库需要开启Trusted设置
- name: dockersock
path: /var/run/docker.sock
- name: deploy
pull: if-not-exists
image: appleboy/drone-ssh
environment:
Connection:
from_secret: connection
NEXUS_USER:
from_secret: nexus_username
NEXUS_PASSWORD:
from_secret: nexus_password
settings:
host: 192.168.31.225
port: 22
username: drone
password: dronepw
command_timeout: 2m
envs: [ NEXUS_USER, NEXUS_PASSWORD ]
script:
- echo $NEXUS_PASSWORD | docker login -u $NEXUS_USER --password-stdin 192.168.31.104:8082
- docker pull 192.168.31.104:8082/tiamo/user-point-management
- echo 开始停止容器
- docker stop user-point-management
- echo 开始强制清除停止容器
- docker container prune -f
- echo 开始清除镜像
- docker image prune -f
- echo 开始标签镜像
- docker tag 192.168.31.104:8082/tiamo/user-point-management tiamo/user-point-management:latest
- echo 开始运行容器
- docker run --name user-point-management -d -p 29029:5000
-e Connection__UserPointManagement="Server=192.168.31.225;Port=5432;UserId=postgres;Password=postgres;Database=tiamo;"
tiamo/user-point-management
- echo 执行完成
volumes:
- name: dockersock
host:
path: /var/run/docker.sock
trigger:
branch:
- master

View File

@ -1,26 +0,0 @@
FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base
WORKDIR /docker
EXPOSE 5000
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
WORKDIR /build
COPY . .
RUN dotnet restore src/UserPointManagement.Web/UserPointManagement.Web.csproj --configfile ./NuGet.Config
WORKDIR src/UserPointManagement.Web
RUN dotnet build UserPointManagement.Web.csproj -c Release
FROM build AS publish
RUN dotnet publish UserPointManagement.Web.csproj -c Release -o /app
FROM base AS final
WORKDIR /app
COPY --from=publish /app .
ENV ASPNETCORE_URLS http://*:5000
ENV TZ Asia/Shanghai
ENV Connection__UserPointManagement=""
ENTRYPOINT ["dotnet", "UserPointManagement.Web.dll"]

View File

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
<add key="azure" value="https://nuget.cdn.azure.cn/v3/index.json" protocolVersion="3" />
</packageSources>
</configuration>

View File

@ -1 +0,0 @@
## 会员积分管理系统

View File

@ -18,15 +18,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UserPointManagement.Persist
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UserPointManagement.Application.Tests", "test\UserPointManagement.Application.Tests\UserPointManagement.Application.Tests.csproj", "{5770D3E5-9B3E-40FC-8209-62F0B4B45BD4}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{08F901D9-600A-4B4D-A942-AD2F61EDFE49}"
ProjectSection(SolutionItems) = preProject
Dockerfile = Dockerfile
README.md = README.md
NuGet.Config = NuGet.Config
.drone.yml = .drone.yml
.gitignore = .gitignore
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU

View File

@ -8,7 +8,7 @@ namespace UserPointManagement.Application.Services;
public interface IUserPointService
{
Task<PageResultDto<UserPointInfoDto>> GetUserPoints(GetUserPointDto req);
Task<PageResultDto<UserPointDto>> GetUserPoints(GetUserPointDto req);
Task CreateUserPoint(CreateUserPointDto input);
@ -24,39 +24,26 @@ public class UserPointService : IUserPointService
_dbContextFactory = dbContextFactory;
}
public async Task<PageResultDto<UserPointInfoDto>> GetUserPoints(GetUserPointDto req)
public async Task<PageResultDto<UserPointDto>> GetUserPoints(GetUserPointDto req)
{
await using var _userPointManagementDbContext = await _dbContextFactory.CreateDbContextAsync();
var queryable = _userPointManagementDbContext.Users
.Where(x => x.Id == req.UserId, req.UserId.HasValue);
// 分页筛选只能针对用户
var users = await queryable.OrderByDescending(x => x.Id).Paging(req).ToListAsync();
// 查出用户底下积分明细
var userPoints = await (from userPoint in _userPointManagementDbContext.UserPoints
where users.Select(x => x.Id).Contains(userPoint.UserId)
var queryable = from userPoint in _userPointManagementDbContext.UserPoints
join user in _userPointManagementDbContext.Users on userPoint.UserId equals user.Id
select new UserPointDto()
{
UserPointId = userPoint.Id,
UserId = userPoint.UserId,
UserId = user.Id,
Name = user.Name,
Point = userPoint.Point,
CreateTime = userPoint.CreateTime
}).ToListAsync();
};
var data = userPoints.GroupBy(x => x.UserId)
.Select(x => new UserPointInfoDto()
{
UserId = x.Key,
Name = users.First(p => p.Id == x.Key).Name,
TotalPoint = x.Sum(p => p.Point),
Items = x.ToList()
}).ToList();
queryable = queryable.Where(x => x.UserId == req.UserId, req.UserId.HasValue);
var count = queryable.Count();
var data = await queryable.OrderByDescending(x => x.CreateTime).Paging(req).ToListAsync().ConfigureAwait(false);
return new PageResultDto<UserPointInfoDto>()
return new PageResultDto<UserPointDto>()
{
Items = data,
TotalCount = count

View File

@ -37,7 +37,7 @@ public class UserService : IUserService
queryable = queryable.Where(x => x.Mobile.Contains(req.Keyword) || x.Name.Contains(req.Keyword),
!string.IsNullOrEmpty(req.Keyword));
var count = queryable.Count();
var data = await queryable.OrderByDescending(x => x.Id).Paging(req).ToListAsync().ConfigureAwait(false);
@ -63,8 +63,7 @@ public class UserService : IUserService
public async Task CreateUser(User input)
{
await using var _userPointManagementDbContext = await _dbContextFactory.CreateDbContextAsync();
if (!string.IsNullOrWhiteSpace(input.Mobile) &&
_userPointManagementDbContext.Users.Any(x => x.Mobile == input.Mobile))
if (_userPointManagementDbContext.Users.Any(x => x.Mobile == input.Mobile))
{
throw new ArgumentException("手机号不可重复!");
}
@ -73,7 +72,6 @@ public class UserService : IUserService
{
throw new ArgumentException("名称不可重复!");
}
_userPointManagementDbContext.Users.Add(input);
await _userPointManagementDbContext.SaveChangesAsync().ConfigureAwait(false);
}

View File

@ -2,5 +2,5 @@
public class GetUserDto : PageBase
{
public string? Keyword { get; set; }
public string Keyword { get; set; }
}

View File

@ -6,6 +6,8 @@ public class UserPointDto
public int UserId { get; set; }
public string Name { get; set; }
public int Point { get; set; }
public DateTime CreateTime { get; set; }

View File

@ -1,12 +0,0 @@
namespace UserPointManagement.Model.Dtos.UserPoint;
public class UserPointInfoDto
{
public int UserId { get; set; }
public string Name { get; set; }
public int TotalPoint { get; set; }
public List<UserPointDto> Items { get; set; }
}

View File

@ -6,5 +6,5 @@ public class User
public string Name { get; set; }
public string? Mobile { get; set; }
public string Mobile { get; set; }
}

View File

@ -9,10 +9,10 @@ public class UserConfiguration : IEntityTypeConfiguration<User>
public void Configure(EntityTypeBuilder<User> builder)
{
builder.HasKey(e => e.Id);
builder.Property(e => e.Id)
.HasComment("主键");
builder.Property(e => e.Name)
.HasComment("姓名")
.HasMaxLength(50);

View File

@ -1,89 +0,0 @@
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
using UserPointManagement.Persistence;
#nullable disable
namespace UserPointManagement.Persistence.Migrations
{
[DbContext(typeof(UserPointManagementDbContext))]
[Migration("20230730134035_ModifyUser")]
partial class ModifyUser
{
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("ProductVersion", "6.0.0")
.HasAnnotation("Relational:MaxIdentifierLength", 63);
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
modelBuilder.Entity("UserPointManagement.Model.Entities.User", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("integer")
.HasColumnName("id")
.HasComment("主键");
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("Id"));
b.Property<string>("Mobile")
.HasMaxLength(30)
.HasColumnType("character varying(30)")
.HasColumnName("mobile")
.HasComment("手机号");
b.Property<string>("Name")
.IsRequired()
.HasMaxLength(50)
.HasColumnType("character varying(50)")
.HasColumnName("name")
.HasComment("姓名");
b.HasKey("Id")
.HasName("pk_user");
b.ToTable("user", (string)null);
});
modelBuilder.Entity("UserPointManagement.Model.Entities.UserPoint", b =>
{
b.Property<long>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint")
.HasColumnName("id")
.HasComment("主键");
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<long>("Id"));
b.Property<DateTime>("CreateTime")
.HasColumnType("timestamp without time zone")
.HasColumnName("create_time")
.HasComment("新增时间");
b.Property<int>("Point")
.HasColumnType("integer")
.HasColumnName("point")
.HasComment("积分");
b.Property<int>("UserId")
.HasColumnType("integer")
.HasColumnName("user_id")
.HasComment("用户Id");
b.HasKey("Id")
.HasName("pk_user_point");
b.ToTable("user_point", (string)null);
});
#pragma warning restore 612, 618
}
}
}

View File

@ -1,41 +0,0 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace UserPointManagement.Persistence.Migrations
{
public partial class ModifyUser : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "mobile",
table: "user",
type: "character varying(30)",
maxLength: 30,
nullable: true,
comment: "手机号",
oldClrType: typeof(string),
oldType: "character varying(30)",
oldMaxLength: 30,
oldComment: "手机号");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "mobile",
table: "user",
type: "character varying(30)",
maxLength: 30,
nullable: false,
defaultValue: "",
comment: "手机号",
oldClrType: typeof(string),
oldType: "character varying(30)",
oldMaxLength: 30,
oldNullable: true,
oldComment: "手机号");
}
}
}

View File

@ -33,6 +33,7 @@ namespace UserPointManagement.Persistence.Migrations
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("Id"));
b.Property<string>("Mobile")
.IsRequired()
.HasMaxLength(30)
.HasColumnType("character varying(30)")
.HasColumnName("mobile")

View File

@ -9,9 +9,9 @@ public class UserPointManagementDbContext : Microsoft.EntityFrameworkCore.DbCont
public UserPointManagementDbContext(DbContextOptions options) : base(options)
{
}
public virtual DbSet<User> Users { get; set; }
public virtual DbSet<UserPoint> UserPoints { get; set; }
protected override void OnModelCreating(ModelBuilder modelBuilder)

View File

@ -10,7 +10,7 @@ public class UserPointManagementDbContextFactory : IDesignTimeDbContextFactory<U
{
var optionsBuilder = new DbContextOptionsBuilder<UserPointManagementDbContext>();
optionsBuilder
.UseNpgsql("Server=67.230.184.225;Port=58007;UserId=postgres;Password=postgres;Database=tiamo_dev;")
.UseNpgsql("Server=67.230.184.225;Port=58007;UserId=postgres;Password=postgres;Database=tiamo;")
.UseSnakeCaseNamingConvention();
AppContext.SetSwitch("Npgsql.EnableLegacyTimestampBehavior", true);

View File

@ -1,31 +0,0 @@
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using UserPointManagement.Application.Services;
using UserPointManagement.Model;
using UserPointManagement.Model.Dtos.User;
using UserPointManagement.Model.Entities;
namespace UserPointManagement.Web.Controllers;
[ApiController]
[Route("[controller]")]
public class UserController : ControllerBase
{
private readonly IUserService _userService;
public UserController(IUserService userService)
{
_userService = userService;
}
/// <summary>
/// 获取用户
/// </summary>
/// <param name="req"></param>
/// <returns></returns>
[HttpGet]
public async Task<PageResultDto<User>> GetUsers([FromQuery]GetUserDto req)
{
return await _userService.GetUsers(req).ConfigureAwait(false);
}
}

View File

@ -1,45 +0,0 @@
using System.Linq;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.ApplicationModels;
using Microsoft.AspNetCore.Mvc.Routing;
namespace UserPointManagement.Web;
public static class MvcOptionsExtensions
{
private static void UseGeneralRoutePrefix(this MvcOptions opts, IRouteTemplateProvider routeAttribute)
{
opts.Conventions.Add(new RoutePrefixConvention(routeAttribute));
}
public static void UseGeneralRoutePrefix(this MvcOptions opts, string
prefix)
{
opts.UseGeneralRoutePrefix(new RouteAttribute(prefix));
}
}
public class RoutePrefixConvention : IApplicationModelConvention
{
private readonly AttributeRouteModel _routePrefix;
public RoutePrefixConvention(IRouteTemplateProvider route)
{
_routePrefix = new AttributeRouteModel(route);
}
public void Apply(ApplicationModel application)
{
foreach (var selector in application.Controllers.SelectMany(c => c.Selectors))
{
if (selector.AttributeRouteModel != null)
{
selector.AttributeRouteModel = AttributeRouteModel.CombineAttributeRouteModel(_routePrefix, selector.AttributeRouteModel);
}
else
{
selector.AttributeRouteModel = _routePrefix;
}
}
}
}

View File

@ -92,7 +92,7 @@
<FormItem Label="姓名" Rules=@(new FormValidationRule[] { new FormValidationRule { Required = true, Message = "名称不可为空!" }, new FormValidationRule() { Len = 50, Message = "名称上限50字" } })>
<Input @bind-Value="@context.Name"/>
</FormItem>
<FormItem Label="手机号" Rules="@(new FormValidationRule[] { new FormValidationRule { Type = FormFieldType.Regexp, Pattern = @"^1\d{10}$", Message = "请输入正确手机号", Required = false } })">
<FormItem Label="手机号" Rules="@(new FormValidationRule[] { new FormValidationRule { Type = FormFieldType.Regexp, Pattern = @"^1\d{10}$", Message = "请输入正确手机号", Required = true } })">
<Input @bind-Value="@context.Mobile"/>
</FormItem>
</Form>

View File

@ -36,36 +36,23 @@
</Space>
</GridCol>
</GridRow>
<Table TItem="UserPointInfoDto" DataSource="@_userPoints"
<Table TItem="UserPointDto" DataSource="@_userPoints"
Total="_total"
Loading="_loading"
PageIndex="@_pageIndex"
PageSize="@_pageSize"
OnExpand="OnRowExpand"
OnPageIndexChange="OnPageIndexChanged"
OnPageSizeChange="OnPageSizeChange">
<ChildContent Context="data">
<PropertyColumn Property="c => c.Name" title="用户姓名"/>
<PropertyColumn Property="c => c.TotalPoint" title="总积分"/>
<ActionColumn Title="操作" Width="220">
<Button Type="Primary" OnClick="() => Add(data.UserId)">新增积分</Button>
</ActionColumn>
</ChildContent>
<ExpandTemplate Context="rowData">
<Table DataSource="rowData.Data.Items" Loading="rowData.Data.Items == null" HidePagination>
<ChildContent Context="data">
<PropertyColumn Property="c => c.Point" title="积分"/>
<PropertyColumn Property="c => c.CreateTime" title="新增时间" Format="yyyy-MM-dd HH:mm"/>
<ActionColumn Title="Action">
<Space Size="@("middle")">
<SpaceItem>
<Button Danger OnClick="() => Delete(data.UserPointId)">删除积分</Button>
</SpaceItem>
</Space>
</ActionColumn>
</ChildContent>
</Table>
</ExpandTemplate>
<PropertyColumn Property="c => c.Name" title="用户姓名"/>
<PropertyColumn Property="c => c.Point" title="积分"/>
<PropertyColumn Property="c => c.CreateTime" title="新增时间" Format="yyyy-MM-dd HH:mm"/>
<ActionColumn Title="操作" Width="220">
<Space Size=@("middle")>
<SpaceItem>
<Button Danger OnClick="()=>Delete(context.UserPointId)">删除</Button>
</SpaceItem>
</Space>
</ActionColumn>
</Table>
</PageContainer>
@ -81,7 +68,7 @@
@ref="@_form">
<FormItem Label="姓名">
<Select TItem="UserDto"
TItemValue="int?"
TItemValue="int"
Mode="default"
DataSource="@_users"
@bind-Value="@context.UserId"
@ -106,10 +93,10 @@
public class Model
{
[Required]
public int? UserId { get; set; }
public int UserId { get; set; }
[Required]
public int? Point { get; set; }
public int Point { get; set; }
}
private Model model = new Model();
@ -136,8 +123,6 @@
private void HandleCancel(MouseEventArgs e)
{
model.UserId = null;
model.Point = null;
_visible = false;
}
@ -170,16 +155,10 @@
_form.Submit();
await UserPointService.CreateUserPoint(new CreateUserPointDto()
{
UserId = model.UserId.Value,
Point = model.Point.Value
UserId = model.UserId,
Point = model.Point
}).ConfigureAwait(false);
await RefreshTable().ConfigureAwait(false);
}
private async Task Add(int userId)
{
model.UserId = userId;
_visible = true;
}
}

View File

@ -1,9 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AntDesign;
using AntDesign.TableModels;
using Microsoft.AspNetCore.Components;
using UserPointManagement.Application.Services;
using UserPointManagement.Model.Dtos.User;
@ -17,7 +15,7 @@ public class UserPointDetailBase : ComponentBase
[Inject] private IUserService UserService { get; set; }
[Inject] private MessageService MessageService { get; set; }
protected List<UserPointInfoDto> _userPoints;
protected List<UserPointDto> _userPoints;
protected List<UserDto> _users;
protected int _pageIndex = 1;
protected int _pageSize = 20;
@ -74,12 +72,4 @@ public class UserPointDetailBase : ComponentBase
await MessageService.Success("删除成功!");
await RefreshTable();
}
protected async Task OnRowExpand(RowData<UserPointInfoDto> rowData)
{
if (rowData.Data.Items != null)
{
return;
}
}
}

View File

@ -5,12 +5,9 @@ using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using UserPointManagement.Persistence;
namespace UserPointManagement.Web
{
@ -18,13 +15,7 @@ namespace UserPointManagement.Web
{
public static void Main(string[] args)
{
var host = CreateHostBuilder(args).Build();
using (var serviceScope = host.Services.CreateScope())
{
var context = serviceScope.ServiceProvider.GetRequiredService<UserPointManagementDbContext>();
context.Database.Migrate();
}
host.Run();
CreateHostBuilder(args).Build().Run();
}
public static IHostBuilder CreateHostBuilder(string[] args) =>

View File

@ -19,8 +19,7 @@
"commandName": "Project",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development",
"Connection:UserPointManagement": "Server=67.230.184.225;Port=58007;UserId=postgres;Password=postgres;Database=tiamo;"
"ASPNETCORE_ENVIRONMENT": "Development"
},
"applicationUrl": "https://localhost:5001;http://localhost:5000"
}

View File

@ -1,6 +1,4 @@
using System;
using System.IO;
using System.Linq;
using System.Net.Http;
using AntDesign.ProLayout;
using Microsoft.AspNetCore.Builder;
@ -28,20 +26,6 @@ namespace UserPointManagement.Web
// For more information on how to configure your application, visit https://go.microsoft.com/fwlink/?LinkID=398940
public void ConfigureServices(IServiceCollection services)
{
services.AddControllers(options =>
{
options.UseGeneralRoutePrefix("/api");
});
services.AddEndpointsApiExplorer();
services.AddSwaggerGen(options =>
{
Directory.GetFiles(AppDomain.CurrentDomain.BaseDirectory, "*.xml").ToList().ForEach(file =>
{
options.IncludeXmlComments(file, true);
});
});
services.AddRouting(options => options.LowercaseUrls = true);
services.AddRazorPages();
services.AddServerSideBlazor();
services.AddAntDesign();
@ -62,7 +46,6 @@ namespace UserPointManagement.Web
AppContext.SetSwitch("Npgsql.EnableLegacyTimestampBehavior", true);
AppContext.SetSwitch("Npgsql.DisableDateTimeInfinityConversions", true);
}
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
@ -71,16 +54,6 @@ namespace UserPointManagement.Web
if (env.IsDevelopment())
{
app.UseDeveloperExceptionPage();
app.UseSwagger(o =>
{
// o.RouteTemplate = $"/api/swagger/{{documentName}}/swagger.json";
});
app.UseSwaggerUI(c =>
{
// c.RoutePrefix = $"/api/swagger";
// c.SwaggerEndpoint($"/api/swagger/v1/swagger.json",
// "UserPointManagement.Api API V1");
});
}
else
{
@ -96,7 +69,6 @@ namespace UserPointManagement.Web
app.UseEndpoints(endpoints =>
{
endpoints.MapControllers();
endpoints.MapBlazorHub();
endpoints.MapFallbackToPage("/_Host");
});

View File

@ -9,7 +9,6 @@
<PackageReference Include="AntDesign.Charts" Version="0.2.3" />
<PackageReference Include="AntDesign.ProLayout" Version="0.12.4" />
<PackageReference Include="System.Net.Http.Json" Version="6.0.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.2.3" />
</ItemGroup>
<ItemGroup>

View File

@ -4,8 +4,7 @@
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information",
"Microsoft.EntityFrameworkCore.Database": "Information"
"Microsoft.Hosting.Lifetime": "Information"
}
},
"ProSettings": {
@ -23,6 +22,5 @@
"MenuRender": true,
"MenuHeaderRender": true,
"HeaderHeight": 48
},
"Connection:UserPointManagement": "Server=67.230.184.225;Port=58007;UserId=postgres;Password=postgres;Database=tiamo_dev;"
}
}

View File

@ -22,5 +22,6 @@
"MenuRender": true,
"MenuHeaderRender": true,
"HeaderHeight": 48
}
},
"Connection:UserPointManagement": "Server=67.230.184.225;Port=58007;UserId=postgres;Password=postgres;Database=tiamo;"
}