Beispiel #1
0
def delete_partner(partner_id):
    partner = Partner()
    partner.partner_id = partner_id
    partner.is_del = 1
    partner.persist()
Beispiel #2
0
def add_partner(partner_id, name, server_zone):
    partner = Partner()
    partner.partner_id = partner_id
    partner.name = name
    partner.server_zone = server_zone
    partner.persist()