Customer Order

This commit is contained in:
aditya.siregar
2024-08-04 01:16:25 +07:00
parent 265dd9b6e8
commit bdf930445c
30 changed files with 832 additions and 43 deletions
+5
View File
@@ -54,6 +54,11 @@ func (h *AuthHandler) AuthLogin(c *gin.Context) {
return
}
if authUser.UserType == "CUSTOMER" {
response.ErrorWrapper(c, errors.ErrorUserIsNotFound)
return
}
var partner *response.Partner
var site *response.SiteName