|
@@ -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());
|
|
|
+ // }
|
|
|
}
|
|
|
|
|
|
/**
|