Skip to content

Commit

Permalink
添加查询状态
Browse files Browse the repository at this point in the history
  • Loading branch information
onenewcode committed Mar 5, 2024
1 parent 604bb80 commit 2417bd0
Show file tree
Hide file tree
Showing 30 changed files with 552 additions and 301 deletions.
622 changes: 339 additions & 283 deletions README.md

Large diffs are not rendered by default.

10 changes: 8 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ require (
github.com/hertz-contrib/logger/accesslog v0.0.0-20240128134225-6b18af47a115
github.com/hertz-contrib/swagger v0.0.0-20230410084747-96f1a1b976ab
github.com/minio/minio-go v6.0.14+incompatible
github.com/redis/go-redis/v9 v9.5.1
github.com/spf13/viper v1.16.0
github.com/swaggo/files v0.0.0-20210815190702-a29dd2bc99b2
github.com/swaggo/swag v1.8.2
Expand All @@ -16,6 +17,11 @@ require (
gorm.io/gorm v1.25.7
)

require (
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
)

require (
github.com/KyleBanks/depth v1.2.1 // indirect
github.com/PuerkitoBio/purell v1.1.1 // indirect
Expand All @@ -34,7 +40,7 @@ require (
github.com/go-sql-driver/mysql v1.7.1 // indirect
github.com/golang-jwt/jwt/v4 v4.4.1 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/google/uuid v1.6.0
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/henrylee2cn/ameda v1.4.10 // indirect
github.com/henrylee2cn/goutil v0.0.0-20210127050712-89660552f6f8 // indirect
Expand Down Expand Up @@ -63,7 +69,7 @@ require (
golang.org/x/net v0.21.0 // indirect
golang.org/x/sys v0.17.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/tools v0.18.0 // indirect
golang.org/x/tools v0.15.0 // indirect
google.golang.org/protobuf v1.30.0 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
Expand Down
18 changes: 14 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ github.com/PuerkitoBio/purell v1.1.1 h1:WEQqlqaGbrPkxLJWfBwQmfEAE1Z7ONdDLqrN38tN
github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0=
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 h1:d+Bc7a5rLufV/sSk/8dngufqelfh6jnri85riMAaF/M=
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE=
github.com/bsm/ginkgo/v2 v2.12.0 h1:Ny8MWAHyOepLGlLKYmXG4IEkioBysk6GpaRTLC8zwWs=
github.com/bsm/ginkgo/v2 v2.12.0/go.mod h1:SwYbGRRDovPVboqFv0tPTcG1sN61LM1Z4ARdbAV9g4c=
github.com/bsm/gomega v1.27.10 h1:yeMWxP2pV2fG3FgAODIY8EiRE3dy0aeFYt4l7wh6yKA=
github.com/bsm/gomega v1.27.10/go.mod h1:JyEr/xRbxbtgWNi8tIEVPUYZ5Dzef52k01W3YH0H+O0=
github.com/bytedance/go-tagexpr/v2 v2.9.2 h1:QySJaAIQgOEDQBLS3x9BxOWrnhqu5sQ+f6HaZIxD39I=
github.com/bytedance/go-tagexpr/v2 v2.9.2/go.mod h1:5qsx05dYOiUXOUgnQ7w3Oz8BYs2qtM/bJokdLb79wRM=
github.com/bytedance/gopkg v0.0.0-20220413063733-65bf48ffb3a7 h1:PtwsQyQJGxf8iaPptPNaduEIu9BnrNms+pcRdHAxZaM=
Expand All @@ -54,6 +58,8 @@ github.com/bytedance/sonic v1.5.0/go.mod h1:ED5hyg4y6t3/9Ku1R6dU/4KyJ48DZ4jPhfY1
github.com/bytedance/sonic v1.8.1 h1:NqAHCaGaTzro0xMmnTCLUyRlbEP6r8MCA1cJUrH3Pu4=
github.com/bytedance/sonic v1.8.1/go.mod h1:i736AoUSYt75HyZLoJW9ERYxcy6eaN6h4BZXU064P/U=
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44=
github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
github.com/chenzhuoyu/base64x v0.0.0-20211019084208-fb5309c8db06/go.mod h1:DH46F32mSOjUmXrMHnKwZdA8wcEefY7UVqBKYGjpdQY=
github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 h1:qSGYFH7+jGhDF8vLC+iwCD4WpbV1EBDSzWkJODFLams=
github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311/go.mod h1:b583jCggY9gE99b6G5LEC39OIiVsWj+R97kbl5odCEk=
Expand All @@ -72,6 +78,8 @@ github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ3
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f h1:lO4WD4F/rVNCu3HqELle0jiPLLBs70cWOduZpkS1E78=
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f/go.mod h1:cuUVRXasLTGF7a8hSLbxyZXjz+1KgoB3wDUb6vlszIc=
github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98=
Expand Down Expand Up @@ -255,6 +263,8 @@ github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qR
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
github.com/redis/go-redis/v9 v9.5.1 h1:H1X4D3yHPaYrkL5X06Wh6xNVM/pX0Ft4RV0vMGvLBh8=
github.com/redis/go-redis/v9 v9.5.1/go.mod h1:hdY0cQFCN4fnSYT6TkisLufl/4W5UIXyv0b/CLO2V2M=
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8=
github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs=
Expand Down Expand Up @@ -414,8 +424,8 @@ golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJ
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.6.0 h1:5BMeUDZ7vkXGfEr1x9B4bRcTH4lpkTkpdh0T/J+qjbQ=
golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
golang.org/x/sync v0.5.0 h1:60k92dhOjHxJkrqnwsfl8KuaHbn/5dl0lUPUklKo3qE=
golang.org/x/sync v0.5.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
Expand Down Expand Up @@ -519,8 +529,8 @@ golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4f
golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
golang.org/x/tools v0.0.0-20210108195828-e2f9c7f1fc8e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0=
golang.org/x/tools v0.18.0 h1:k8NLag8AGHnn+PHbl7g43CtqZAwG60vZkLqgyZgIHgQ=
golang.org/x/tools v0.18.0/go.mod h1:GL7B4CwcLLeo59yx/9UWWuNOW1n3VZ4f5axWfML7Lcg=
golang.org/x/tools v0.15.0 h1:zdAyfUGbYmuVokhzVmghFl2ZJh5QhcfebBgmVPFYA+8=
golang.org/x/tools v0.15.0/go.mod h1:hpksKq4dtpQWS1uQ61JkdqWM3LscIS6Slf+VVkm+wQk=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
Expand Down
Binary file added images/img_64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/img_65.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/img_66.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/img_67.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/img_68.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/img_69.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/img_70.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/img_71.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/img_72.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/img_73.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/img_74.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/img_75.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions internal/models/dto/common.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
package dto

import (
"encoding/json"
"reggie/internal/models/model"
"time"
)

type EmployeePageQueryDTO struct {
//员工姓名
Name *string `json:"name,omitempty" form:"name,omitempty"`
Expand All @@ -18,6 +24,26 @@ type CategoryPageQueryDTO struct {
//分类类型 1菜品分类 2套餐分类
Type *int `json:"type,omitempty" form:"type,omitempty"`
}
type DishDTO struct {
ID int64 `json:"id,omitempty"`
Name string `json:"name,omitempty"`
CategoryID int64 `json:"categoryId,omitempty"`
Price float64 `json:"price,omitempty"`
Image string `json:"image,omitempty"`
Description string `json:"description,omitempty"`
Status int32 `json:"status,omitempty"`
flavors []*model.DishFlavor `json:"flavors,omitempty"`
}

// 如果传入的id不等于nil,
func (d *DishDTO) ToNewDish(id *int64) *model.Dish {
v, _ := json.Marshal(d)
var dish model.Dish
json.Unmarshal(v, &dish)
dish.CreateUser, dish.UpdateUser = *id, *id
dish.CreateTime, dish.UpdateTime = time.Now(), time.Now()
return &dish
}

/*
添加分页id
Expand Down
26 changes: 26 additions & 0 deletions internal/models/vo/common.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
package vo

import (
"reggie/internal/models/model"
"time"
)

type EmployeeLoginVO struct {
Id int64 `json:"id,omitempty"`

Expand All @@ -9,3 +14,24 @@ type EmployeeLoginVO struct {

Token string `json:"token,omitempty"`
}
type DishVO struct {
id int64 `json:"id,omitempty"`
//菜品名称
name string `json:"name,omitempty"`
//菜品分类id
categoryId int64 `json:"category_id,omitempty"`
//菜品价格
price float64 `json:"price,omitempty"`
//图片
image string `json:"image,omitempty"`
//描述信息
description string `json:"description,omitempty"`
//0 停售 1 起售
status int64 `json:"status,omitempty"`
//更新时间
updateTime time.Time `json:"update_time"`
//分类名称
categoryName string `json:"category_name,omitempty"`
//菜品关联的口味
flavors []*model.DishFlavor `json:"flavors,omitempty"`
}
2 changes: 1 addition & 1 deletion internal/router/admin/common_router.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"github.com/cloudwego/hertz/pkg/app"
"mime/multipart"
"net/http"
obs "reggie/internal/OBS"
"reggie/internal/models/common"
"reggie/internal/models/constant/message_c"
"reggie/pkg/obs"
)

func getFile(from *multipart.Form) *multipart.FileHeader {
Expand Down
12 changes: 5 additions & 7 deletions internal/router/admin/dish_router.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,12 @@ import (
)

func SaveDish(ctx context.Context, c *app.RequestContext) {
var dish model.Dish
c.Bind(&dish)
// 赋予创建用户和更新用户的数据
dish.CreateUser, dish.UpdateUser = middleware.GetJwtPayload(c), middleware.GetJwtPayload(c)
// 赋予创建时间和更新时间数据
dish.CreateTime, dish.UpdateTime = time.Now(), time.Now()
var dist dto.DishDTO
c.Bind(dist)
id := middleware.GetJwtPayload(c)
var dish = dist.ToNewDish(&id)
log.Println("新增分类:", dish)
service.SaveDish(&dish)
service.SaveDish(dish)
c.JSON(http.StatusOK, common.Result{1, "", nil})
}

Expand Down
39 changes: 39 additions & 0 deletions internal/router/admin/shop_router.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
package admin

import (
"context"
"github.com/cloudwego/hertz/pkg/app"
"github.com/cloudwego/hertz/pkg/common/hlog"
"net/http"
"reggie/internal/models/common"
"reggie/internal/router/service"
"strconv"
)

func SetStatusShop(ctx context.Context, c *app.RequestContext) {
s := c.Param("status")
status, _ := strconv.Atoi(s)
var statusString string
if status == 1 {
statusString = "营业中"
} else {
statusString = "打烊中"
}
hlog.Infof("设置店铺的营业状态为:", statusString)
service.SetStatusShop(&status)
c.JSON(http.StatusOK, common.Result{1, "", nil})
}

func GetStatusShop(ctx context.Context, c *app.RequestContext) {

status := *service.GetStatusShop()
var statusString string
if status == 1 {
statusString = "营业中"
} else {
statusString = "打烊中"
}
hlog.Infof("获取到店铺的营业状态为:{}", statusString)
service.SetStatusShop(&status)
c.JSON(http.StatusOK, common.Result{1, "", nil})
}
5 changes: 5 additions & 0 deletions internal/router/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,10 @@ func InitRouter(r *server.Hertz) {
// 根据类型查询分类
dish.GET("/list", admin.ListDish)
}
shop := adm.Group("/shop")
{
shop.POST("/:status", admin.SetStatusShop)
shop.GET("/status", admin.GetStatusShop)
}

}
3 changes: 2 additions & 1 deletion internal/router/service/dish_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ import (
"time"
)

func SaveDish(dish *model.Dish) {
func SaveDish(dish *model.Dish) *model.Dish {
db.DisDao.Save(dish)
return dish
}
func PageQueryDish(categoryPage *dto.DishPageQueryDTO) *common.PageResult {
var pageResult = common.PageResult{}
Expand Down
10 changes: 10 additions & 0 deletions internal/router/service/shop_service.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package service

import "reggie/pkg/redis"

func SetStatusShop(status *int) {
redis.RC.SetStatus(status)
}
func GetStatusShop() *int {
return redis.RC.GetStatus()
}
24 changes: 24 additions & 0 deletions nginx-1.20.2/logs/access.log
Original file line number Diff line number Diff line change
Expand Up @@ -1809,3 +1809,27 @@
127.0.0.1 - - [29/Feb/2024:21:11:31 +0800] "GET /img/noImg.89ccbe0c.png HTTP/1.1" 200 5432 "http://localhost/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0"
127.0.0.1 - - [29/Feb/2024:21:11:31 +0800] "GET /img/noImg.89ccbe0c.png HTTP/1.1" 200 5432 "http://localhost/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0"
127.0.0.1 - - [29/Feb/2024:21:11:31 +0800] "GET /img/noImg.89ccbe0c.png HTTP/1.1" 200 5432 "http://localhost/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0"
127.0.0.1 - - [03/Mar/2024:15:49:07 +0800] "GET /index.html HTTP/1.1" 200 2012 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.0.0"
127.0.0.1 - - [03/Mar/2024:15:49:07 +0800] "GET /css/chunk-vendors.37cc3fbd.css HTTP/1.1" 200 7903 "http://localhost/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.0.0"
127.0.0.1 - - [03/Mar/2024:15:49:07 +0800] "GET /css/app.fd9b670b.css HTTP/1.1" 200 364764 "http://localhost/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.0.0"
127.0.0.1 - - [03/Mar/2024:15:49:07 +0800] "GET /js/app.d0aa4eb3.js HTTP/1.1" 200 57032 "http://localhost/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.0.0"
127.0.0.1 - - [03/Mar/2024:15:49:07 +0800] "GET /css/404.6a750851.css HTTP/1.1" 200 5256 "http://localhost/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.0.0"
127.0.0.1 - - [03/Mar/2024:15:49:07 +0800] "GET /css/dashboard.8da8967e.css HTTP/1.1" 200 9605 "http://localhost/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.0.0"
127.0.0.1 - - [03/Mar/2024:15:49:08 +0800] "GET /css/login.f8377ced.css HTTP/1.1" 200 2533 "http://localhost/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.0.0"
127.0.0.1 - - [03/Mar/2024:15:49:08 +0800] "GET /css/shopTable.5fd29e98.css HTTP/1.1" 200 31547 "http://localhost/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.0.0"
127.0.0.1 - - [03/Mar/2024:15:49:08 +0800] "GET /js/chunk-vendors.9b7e46a0.js HTTP/1.1" 200 2333478 "http://localhost/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.0.0"
127.0.0.1 - - [03/Mar/2024:15:49:08 +0800] "GET /js/404.c61770cf.js HTTP/1.1" 200 2120 "http://localhost/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.0.0"
127.0.0.1 - - [03/Mar/2024:15:49:08 +0800] "GET /js/dashboard.630a609e.js HTTP/1.1" 200 40566 "http://localhost/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.0.0"
127.0.0.1 - - [03/Mar/2024:15:49:08 +0800] "GET /js/login.90288d75.js HTTP/1.1" 200 3401 "http://localhost/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.0.0"
127.0.0.1 - - [03/Mar/2024:15:49:08 +0800] "GET /js/shopTable.fe534d8f.js HTTP/1.1" 200 121212 "http://localhost/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.0.0"
127.0.0.1 - - [03/Mar/2024:15:49:08 +0800] "GET /img/icon_logo.38b01728.png HTTP/1.1" 200 12440 "http://localhost/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.0.0"
127.0.0.1 - - [03/Mar/2024:15:49:08 +0800] "GET /img/login-l.6ef9d260.png HTTP/1.1" 200 1871310 "http://localhost/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.0.0"
127.0.0.1 - - [03/Mar/2024:15:49:08 +0800] "GET /img/icons/favicon-32x32.png HTTP/1.1" 200 13342 "http://localhost/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.0.0"
127.0.0.1 - - [03/Mar/2024:15:49:08 +0800] "GET /img/icons/favicon-16x16.png HTTP/1.1" 200 13342 "http://localhost/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.0.0"
127.0.0.1 - - [03/Mar/2024:15:49:08 +0800] "GET /manifest.json HTTP/1.1" 200 454 "http://localhost/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.0.0"
127.0.0.1 - - [03/Mar/2024:15:49:08 +0800] "GET /img/icons/android-chrome-192x192.png HTTP/1.1" 200 2484 "http://localhost/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.0.0"
127.0.0.1 - - [03/Mar/2024:15:49:12 +0800] "GET /index.html HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.0.0"
127.0.0.1 - - [03/Mar/2024:15:49:13 +0800] "GET /index.html HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.0.0"
127.0.0.1 - - [03/Mar/2024:15:49:14 +0800] "GET /index.html HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.0.0"
127.0.0.1 - - [03/Mar/2024:15:49:22 +0800] "GET /fonts/element-icons.535877f5.woff HTTP/1.1" 200 28200 "http://localhost/css/app.fd9b670b.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.0.0"
127.0.0.1 - - [03/Mar/2024:15:49:26 +0800] "POST /api/employee/login HTTP/1.1" 502 494 "http://localhost/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.0.0"
Loading

0 comments on commit 2417bd0

Please sign in to comment.