feat: product test com
This commit is contained in:
@@ -99,7 +99,7 @@ func (l *VerifyStatusLogic) verifyStatus(expectStatus uint8, in *product.VerifyS
|
||||
err = l.svcCtx.DB.WithContext(l.ctx).Transaction(func(tx *gorm.DB) error {
|
||||
vm := model.VerifyModel{}.Init().WithTX(tx)
|
||||
pm := model.ProductModel{}.Init().WithTX(tx)
|
||||
now := time.Now()
|
||||
now := time.Now().Format(time.DateTime)
|
||||
|
||||
if expectStatus == dao.VerifyStatusChecking {
|
||||
if _, err := vm.Edit(w, &dao.VerifyFirstUpdate{
|
||||
|
||||
Reference in New Issue
Block a user