Example #1
0
def getTYD_id(token,sendStationId):
    url = "http://192.168.173.152/api/operator/consign/buildNewConsignNo?sendStationId="+sendStationId+"&token="+token
    print("url:"+url)
    reponse = interface.requestInterfaceGet(url)
    print ("托运单号:%r"%re.search('"data":"(.*?)",',reponse))
    tyd_id = re.search('"data":"(.*?)",',reponse).group(1)
    print("托运单号为:"+tyd_id)
    return tyd_id
Example #2
0
def getReceiverStation(token,userId):
    print("userId:" +userId)
    reponse = interface.requestInterfaceGet("http://192.168.173.152/api/admin/organization/merchant/getStationByUserId?type=3&userId="+userId+"&token="+token)
    return reponse
Example #3
0
def getPeiSongDanId(token):
    reponse = interface.requestInterfaceGet("http://192.168.173.152/api/operator/deliver/buildNo?token="+token)
    print("响应结果:" + reponse)
    return reponse
Example #4
0
def getPeiZaiDanId(token):
    reponse = interface.requestInterfaceGet("http://192.168.173.152/api/operator/stowage/getNewStowageNo?token="+token)
    print("响应结果:" + reponse)
    return reponse
Example #5
0
def getFenBoDanId(token):
    reponse = interface.requestInterfaceGet("http://192.168.173.152/api/operator/separateList/addPage?token="+token)
    print("响应结果:" + reponse)
    return reponse
Example #6
0
def getTiHuoDanId(token):
    reponse = interface.requestInterfaceGet("http://192.168.173.152/api/operator/takeGoods/getTakeGoodsNo?token="+token)
    print("响应结果:" + reponse)
    return reponse
Example #7
0
def getTYH_id(token,sendStationId):
    reponse = interface.requestInterfaceGet("http://192.168.173.152/api/operator/consign/buildNewConsignGoodsNo?sendStationId="+sendStationId+"&token="+token)
    tyh_id = re.search('"data":"(.*?)",',reponse).group(1)
    print("货号为:"+tyh_id)
    return tyh_id