🩹 登录建号租户改为优先取 Tenant-Id 请求头

接口契约要求 Tenant-Id 头 → tenant_id 参数 → 兜底 000000。
写库前仍兜到非空;入参与请求头不一致时以请求头为准。
同步订正两个 DTO 的 tenantId 说明。
This commit is contained in:
2026-10-23 16:34:10 +08:00
parent d28c8688cf
commit b04f68e168
3 changed files with 29 additions and 11 deletions
@@ -43,7 +43,7 @@ public class MpUserEnsureDTO implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
@Schema(description = "租户ID,为空时依次取当前登录租户与默认租户")
@Schema(description = "租户ID,为空时依次取 Tenant-Id 请求头与默认租户")
private String tenantId;
@Schema(description = "手机号")