add new endpoint for add user by admin

This commit is contained in:
Mr Swift
2024-10-02 18:51:15 +03:30
parent 5c507ab708
commit 29e2e2a1b8
5 changed files with 353 additions and 2 deletions
+8
View File
@@ -42,7 +42,13 @@ export default {
title: 'آسان سرویس | مدیریت سایت'
}
},
async mounted() {
try {
await this.$axios.get('/api/admin/permissions')
} catch (error) {
this.$router.push('/auth/login-register')
}
/// /////////////////////////////////////////////////// get products list | provinces | cities
try {
// verity request info
@@ -79,6 +85,8 @@ export default {
} catch (e) {
this.$arpaError()
}
}
}
</script>