🩹 登录建号租户改为优先取 Tenant-Id 请求头
接口契约要求 Tenant-Id 头 → tenant_id 参数 → 兜底 000000。 写库前仍兜到非空;入参与请求头不一致时以请求头为准。 同步订正两个 DTO 的 tenantId 说明。
This commit is contained in:
+1
-1
@@ -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 = "手机号")
|
||||
|
||||
Reference in New Issue
Block a user