修复 获取用户加价规则 包含子账号
This commit is contained in:
1 parent
2f21292b3c
commit
463a037038
1 file changed
+1
-1
@@ -497,7 +497,7 @@ public partial class UserService
|
||||
{
|
||||
GetDefaultFloorPrice(paymentType);
|
||||
if (string.IsNullOrWhiteSpace(userName)) throw new ArgumentException("用户名不能为空", nameof(userName));
|
||||
var user = GetUserByUserName(userName) ?? throw new InvalidOperationException("用户不存在");
|
||||
var user = GetMainUser(userName) ?? throw new InvalidOperationException("用户不存在");
|
||||
var rules = GetUserMarkupRules(user, paymentType);
|
||||
var parentOemId = string.IsNullOrWhiteSpace(user.OemId)
|
||||
? null : GetOEMByOemId(user.OemId, false)?.ParentOemId;
|
||||
|
||||
Reference in new issue
Block a user