Browse Source

fix:AI测量

super-yimizi 3 weeks ago
parent
commit
29bea2dce9
1 changed files with 4 additions and 4 deletions
  1. 4 4
      application/api/controller/BodyProfile.php

+ 4 - 4
application/api/controller/BodyProfile.php

@@ -146,16 +146,16 @@ class BodyProfile extends Api
             $this->error($validate->getError());
         }
 
-        try {
+        // try {
             $measurement = BodyProfileService::addMeasurement(
                 $params['profile_id'], 
                 $this->auth->id, 
                 $params
             );
             $this->success('添加成功', ['measurement_id' => $measurement->id]);
-        } catch (\Exception $e) {
-            $this->error($e->getMessage());
-        }
+        // } catch (\Exception $e) {
+        //     $this->error($e->getMessage());
+        // }
     }
 
     /**