Browse Source

fix:增加身高体重

super-yimizi 3 weeks ago
parent
commit
0b9886f5fd
1 changed files with 2 additions and 1 deletions
  1. 2 1
      application/api/controller/AiMeasurement.php

+ 2 - 1
application/api/controller/AiMeasurement.php

@@ -339,7 +339,8 @@ class AiMeasurement extends Api
 
             // 格式化结果用于展示
             //$formattedResult = $this->formatMeasurementResult($result, $params['profile_id']);
-
+            $measurements['height'] = $profile->height;
+            $measurements['weight'] = $profile->weight;
             $this->success('AI测量完成', $measurements);
 
         // } catch (\Exception $e) {