Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
X
xyw_asset_console
  • Overview
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • DaiJiezhang
  • xyw_asset_console
  • Merge Requests
  • !7

Merged
Opened Aug 05, 2026 by DaiJiezhang@Jeddy 
  • Report abuse
Report abuse

修复:保留接口真实报错并限制手机号输入

本次内容

  • 登录有效时,接口业务报错不再误提示“请先登录”
  • 新增统一错误处理:手机号重复、数据库字段未同步等会返回对应提示
  • 新增企微字段 phone_link_mode 的数据库迁移脚本
  • 企微注册手机号、手机号资产均限制为:仅数字、最多 11 位
  • 增加后端错误处理测试

验证

  • 后端定向测试:9 项通过
  • 前端构建:通过

部署注意

部署后需重启后端;目标数据库需执行 V2__add_wecom_phone_link_mode.sql(如 Flyway 已启用则会自动执行)。

×

Check out, review, and merge locally

Step 1. Fetch and check out the branch for this merge request

git fetch origin
git checkout -b codex/merge-unmerged-auth-commits origin/codex/merge-unmerged-auth-commits

Step 2. Review the changes locally

Step 3. Merge the branch and fix any conflicts that come up

git checkout master
git merge --no-ff codex/merge-unmerged-auth-commits

Step 4. Push the result of the merge to GitLab

git push origin master

Note that pushing to GitLab requires write access to this repository.

Tip: You can also checkout merge requests locally by following these guidelines.

  • Discussion 0
  • Commits 1
  • Changes 12
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
  • DaiJiezhang @Jeddy

    merged

    Aug 05, 2026

    merged

    merged
    Toggle commit list
  • DaiJiezhang @Jeddy

    mentioned in commit 980127b4

    Aug 05, 2026

    mentioned in commit 980127b4

    mentioned in commit 980127b4debf9ab95c75d99e11a778d5354bc61d
    Toggle commit list
  • Write
  • Preview
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 sign in to comment
Assignee
No assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
Reference: Jeddy/xyw_asset_console!7
×

Revert this merge request

This will create a new commit in order to revert the existing changes.

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.
×

Cherry-pick this merge request

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.