...
|
...
|
@@ -515,8 +515,8 @@ class User extends Api |
|
|
public function sizeEdit()
|
|
|
{
|
|
|
$post = $this->request->post();
|
|
|
$this->success(json_encode($post));
|
|
|
$model = UserSize::detail($this->user['id'], $post['user_size_id']);
|
|
|
$this->success(json_encode($model->edit($post)));
|
|
|
if(empty($model)){
|
|
|
$this->error(__('尺寸信息不存在'));
|
|
|
}
|
...
|
...
|
|