Browse Source

fixed:技师端-优化基本信息提交

刘学玺 4 months ago
parent
commit
5df401a4ef
1 changed files with 3 additions and 0 deletions
  1. 3 0
      app/Services/Coach/AccountService.php

+ 3 - 0
app/Services/Coach/AccountService.php

@@ -204,6 +204,9 @@ class AccountService
             // 验证技师信息是否存在
             abort_if(!$user->coach, 404, '技师信息不存在');
 
+            // TODO: 临时清除技师信息,便于对接调试
+            $this->clearCoachCache($user->coach->id);
+
             // 检查是否有待审核的记录,避免重复提交
             $pendingRecord = $this->hasPendingRecord($user->coach, 'real');
             abort_if($pendingRecord, 422, '已有待审核的实名认证信息');