示例#1
0
文件: city.py 项目: liuzelei/walis
def put(pk):
    pk = int(pk)
    city = args_to_tobj(thirdparty_svc.ers.TCity)
    city_base.post_or_put(pk, city)
    return ''
示例#2
0
def put(pk):
    pk = int(pk)
    entry = args_to_tobj(thirdparty_svc.ers.TEntry)
    entry_base.post_or_put(pk, entry)
    return ''
示例#3
0
文件: city.py 项目: liuzelei/walis
def post():
    city = args_to_tobj(thirdparty_svc.ers.TCity)
    city_base.post_or_put(None, city)
    return ''
示例#4
0
def put(pk):
    pk = int(pk)
    zone = args_to_tobj(thirdparty_svc.ers.TZone)
    zone_base.post_or_put(pk, zone)
    return ''
示例#5
0
def post():
    entry = args_to_tobj(thirdparty_svc.ers.TEntry)
    entry_base.post_or_put(None, entry)
    return ''
示例#6
0
def put(pk):
    pk = int(pk)
    city = args_to_tobj(thirdparty_svc.ers.TCity)
    city_base.post_or_put(pk, city)
    return ''
示例#7
0
def post():
    zone = args_to_tobj(thirdparty_svc.ers.TZone)
    zone_base.post_or_put(None, zone)
    return ''
示例#8
0
文件: entry.py 项目: liuzelei/walis
def put(pk):
    pk = int(pk)
    entry = args_to_tobj(thirdparty_svc.ers.TEntry)
    entry_base.post_or_put(pk,entry)
    return ''
示例#9
0
def post():
    city = args_to_tobj(thirdparty_svc.ers.TCity)
    city_base.post_or_put(None, city)
    return ''
示例#10
0
def put(pk):
    pk = int(pk)
    district = args_to_tobj(thirdparty_svc.ers.TDistrict)
    district_base.post_or_put(pk, district)
    return ''
示例#11
0
文件: entry.py 项目: liuzelei/walis
def post():
    entry = args_to_tobj(thirdparty_svc.ers.TEntry)
    entry_base.post_or_put(None,entry)
    return ''
示例#12
0
def post():
    district = args_to_tobj(thirdparty_svc.ers.TDistrict)
    district_base.post_or_put(None, district)
    return ''
示例#13
0
文件: zone.py 项目: liuzelei/walis
def put(pk):
    pk = int(pk)
    zone = args_to_tobj(thirdparty_svc.ers.TZone)
    zone_base.post_or_put(pk, zone)
    return ""
示例#14
0
文件: zone.py 项目: liuzelei/walis
def post():
    zone = args_to_tobj(thirdparty_svc.ers.TZone)
    zone_base.post_or_put(None, zone)
    return ""
示例#15
0
def put(pk):
    pk = int(pk)
    district = args_to_tobj(thirdparty_svc.ers.TDistrict)
    district_base.post_or_put(pk,district)
    return ''
示例#16
0
def post():
    district = args_to_tobj(thirdparty_svc.ers.TDistrict)
    district_base.post_or_put(None,district)
    return ''