diff --git a/themes/default/account/account.blade.php b/themes/default/account/account.blade.php index 77e9ac77..a93c4954 100644 --- a/themes/default/account/account.blade.php +++ b/themes/default/account/account.blade.php @@ -24,7 +24,7 @@
个人中心
- 修改信息 + 修改信息
diff --git a/themes/default/account/edit.blade.php b/themes/default/account/edit.blade.php index 99f61836..22886171 100644 --- a/themes/default/account/edit.blade.php +++ b/themes/default/account/edit.blade.php @@ -154,7 +154,7 @@ formData.append('file', blob, 'avatar.png'); formData.append('type', 'avatar'); - $http.put('{{ shop_route('file.store') }}', formData).then(res => { + $http.post('{{ shop_route('file.store') }}', formData).then(res => { console.log(res); }) });