This commit is contained in:
pushuo 2022-08-10 16:21:27 +08:00
parent bc8fb4f929
commit b1aa079c31
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@
<div class="card mb-4 account-card">
<div class="card-header d-flex justify-content-between align-items-center">
<h5 class="card-title">个人中心</h5>
<a href="http://" class="text-muted">修改信息</a>
<a href="{{ shop_route('account.edit.index') }}" class="text-muted">修改信息</a>
</div>
<div class="card-body">
<div class="d-flex flex-nowrap card-items py-2">

View File

@ -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);
})
});