1
This commit is contained in:
@@ -280,7 +280,9 @@ func AddVendorOrgCode(ctx *jxcontext.Context, vendorOrgCode *model.VendorOrgCode
|
||||
return err
|
||||
}
|
||||
if len(list) > 0 {
|
||||
return fmt.Errorf("库里有这个账号了,[%v]", vendorOrgCode.VendorOrgCode)
|
||||
vendorOrgCode.ID = list[0].ID
|
||||
_, err = dao.UpdateEntity(db, vendorOrgCode, "token", "updated_at", "app_key", "app_secret")
|
||||
return err
|
||||
}
|
||||
|
||||
var userName string
|
||||
|
||||
Reference in New Issue
Block a user