@@ -138,7 +138,7 @@ func (l *CreateWhatcappBatchMsgLogic) CreateWhatcappBatchMsg(req *types.BatchMsg
_, err = tx.BatchMsg.Create().
SetNotNilBatchNo(&batchNo).
- SetStatus(0).
+ SetStatus(2).
//SetNotNilFromwxid(req.Fromwxid).
SetNotNilMsg(req.Msg).
SetNotNilTag(&tag).
@@ -113,7 +113,7 @@ func (l *ImportWhatsappContactLogic) ImportWhatsappContact(req *types.ImportWhat
newLabel, err := l.svcCtx.DB.Label.Create().
SetName(value).
- SetType(5).
+ SetType(1).
SetNotNilConditions(&conditions).
SetOrganizationID(organizationId).
Save(l.ctx)