feat: scan graph
CI / changes (push) Successful in 1m31s
CI / ad (push) Successful in 0s
CI / admin (push) Successful in 0s
CI / aiserver (push) Successful in 0s
CI / analysis (push) Successful in 37s
CI / bff (push) Successful in 18s
CI / chore (push) Successful in 0s
CI / equipment (push) Successful in 0s
CI / express (push) Successful in 1s
CI / factory (push) Successful in 0s
CI / message (push) Successful in 0s
CI / order (push) Successful in 0s
CI / payment (push) Successful in 0s
CI / percutaneous (push) Successful in 0s
CI / product (push) Successful in 0s
CI / record (push) Successful in 1s
CI / sale (push) Successful in 0s
CI / store (push) Successful in 22s
CI / support (push) Successful in 0s
CI / task (push) Successful in 0s
CI / user (push) Successful in 21s
CI / water (push) Successful in 0s
CI / wecom (push) Successful in 0s
CI / ws (push) Successful in 0s

This commit is contained in:
zzw
2026-11-04 11:46:54 +08:00
parent 8413ba5e55
commit 15a5616308
36 changed files with 3203 additions and 135 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ func (l *ItemsLogic) Items(in *store.ItemsRequest) (*store.Response, error) {
w.Eq["sale_id"] = strconv.FormatInt(in.SaleId, utils.NumberTen)
}
if in.Status > utils.NumberZero {
w.Eq["status"] = string(in.Status)
w.Eq["status"] = strconv.Itoa(int(in.Status))
}
items, err := model.StoreModel{}.Init().Page(w, &info)
+1 -2
View File
@@ -10,7 +10,7 @@ type StoreCreateValidator struct {
DistrictIds string `form:"district_ids" json:"district_ids" validate:"required"`
Address string `form:"address" json:"address" validate:"required"`
UserName string `form:"user_name" json:"user_name" validate:"required"`
Password string `form:"password" json:"password" validate:"required,len=8"`
Password string `form:"password" json:"password" validate:"required"`
BusinessLicense string `form:"business_license" json:"business_license" validate:"required"`
BankInfo string `form:"bank_info" json:"bank_info"`
Images string `form:"images" json:"images" validate:"required"`
@@ -44,7 +44,6 @@ func (p StoreCreateValidator) GetMessage() validate.ValidatorMessages {
"BusinessLicense.required": "营业执照不能为空",
"Images.required": "门店照片不能为空",
"SaleId.required": "销售ID不能为空",
"Password.len": "必须是8位",
"IdCard.required": "身份证正反面不能为空",
"ConsigneeMobile.required": "收货人手机号不能为空",
"ConsigneeName.required": "收货人姓名不能为空",