20261030 #18

Merged
zzh merged 9 commits from test into master 2026-10-30 17:37:30 +08:00
Showing only changes of commit 9be7fcd143 - Show all commits

View File

@ -6,6 +6,7 @@ using Fake.Rbac.Application.Services;
using Fake.Rbac.Infrastructure; using Fake.Rbac.Infrastructure;
using Fake.Security.Claims; using Fake.Security.Claims;
using Fake.EntityFrameworkCore; using Fake.EntityFrameworkCore;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using Oms.Application.Dtos.Customers; using Oms.Application.Dtos.Customers;
@ -228,10 +229,11 @@ public class CustomerService : ApplicationService
} }
/// <summary> /// <summary>
/// 新增客户。 /// 新增客户(公开注册页可匿名调用;管理端也可带 token 代开户)。
/// </summary> /// </summary>
/// <param name="input">入参:客户创建参数。</param> /// <param name="input">入参:客户创建参数。</param>
/// <returns>无返回体,仅完成新增客户。</returns> /// <returns>无返回体,仅完成新增客户。</returns>
[AllowAnonymous]
[HttpPost("/customer/create")] [HttpPost("/customer/create")]
public async Task CreateAsync(CreateCustomerInput input) public async Task CreateAsync(CreateCustomerInput input)
{ {