Skip to content

Patch 1#2

Merged
ericchenCW merged 3 commits into
WeOps-Lab:weops-4.xfrom
greenpant:patch-1
May 21, 2026
Merged

Patch 1#2
ericchenCW merged 3 commits into
WeOps-Lab:weops-4.xfrom
greenpant:patch-1

Conversation

@greenpant

Copy link
Copy Markdown
Collaborator

No description provided.

# token 生成
hashed_value = f"{self.profile.username}@{self.profile.domain}|{self.profile.telephone}"
md = hashlib.md5()
md.update(hashed_value.encode("utf-8"))

except Profile.DoesNotExist:
logger.exception(
"failed to get profile by telephone<%s> or username<%s>", input_telephone, input_telephone

except Profile.DoesNotExist:
logger.exception(
"failed to get profile by telephone<%s> or username<%s>", input_telephone, input_telephone
raise error_codes.USER_DOES_NOT_EXIST

except Profile.MultipleObjectsReturned:
logger.exception("this telephone had bound to multi profiles", input_telephone, input_telephone)
raise error_codes.USER_DOES_NOT_EXIST

except Profile.MultipleObjectsReturned:
logger.exception("this telephone had bound to multi profiles", input_telephone, input_telephone)
@greenpant greenpant changed the base branch from master to weops-4.x May 14, 2026 06:37
@ericchenCW ericchenCW merged commit 709dd89 into WeOps-Lab:weops-4.x May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants