Commit dbd6425f authored by liudong1993's avatar liudong1993

1

parent 3efd38af
...@@ -82,10 +82,10 @@ namespace Mall.WebApi.Controllers.User ...@@ -82,10 +82,10 @@ namespace Mall.WebApi.Controllers.User
Id = jobj.GetInt("Id"), Id = jobj.GetInt("Id"),
CustomerOpenId = jobj.GetStringValue("CustomerOpenId") CustomerOpenId = jobj.GetStringValue("CustomerOpenId")
}; };
if (string.IsNullOrEmpty(extModel.CustomerOpenId)) { return ApiResult.Failed(); } if (string.IsNullOrEmpty(extModel.CustomerOpenId)) { return ApiResult.Success(); }
extModel.TenantId = RequestParm.TenantId; extModel.TenantId = RequestParm.TenantId;
extModel.MallBaseId = RequestParm.MallBaseId; extModel.MallBaseId = RequestParm.MallBaseId;
if (extModel.MallBaseId != 1) { return ApiResult.Failed(); } if (extModel.MallBaseId != 1) { return ApiResult.Success(); }
bool flag = MemberUserModule.SetMemberBindCustomer(extModel); bool flag = MemberUserModule.SetMemberBindCustomer(extModel);
return flag ? ApiResult.Success() : ApiResult.Failed(); return flag ? ApiResult.Success() : ApiResult.Failed();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment