三、服务端各功能模块说明:
    1、添加货单(快递单)

    1)服务端地址:
    http://TEACHER-SERVER:9999/Logistics/GoodsBill/add
    2)服务端接收数据:
    类型: json对象
    示例: {
    “goodsbillcode”:9001,
    “fromcustomerid”:5001,
    “fromaddress”:6001,
    “tocustomerid”:5002,
    “toaddress”:6002,
    “startdate”:”sysdate”,
    “finshdate”:”sysdate”,
    “gooodsname”:”上衣”,
    “weight”:5,
    “volume”:2,
    “goodstype”:”普通”,
    “tanstype”:”陆运”,
    “transmoney”:12,
    “paytype”:”到付”,
    “emp_id”:2001,
    “station_id”:3001,
    “billStaus”:”运输中”,
    “notes”:”无”
    }
    说明: usercode为账号,userpwd为密码
    3)服务端返回数据
    类型: json对象
    示例:
    {“isOK”:true}
    说明: isOK : 登录是否成功,成功返回true,失败返回false
    loginUser: 成功以后,存储这个用户的各项信息,登录失败,无这个属性

    2、入出库

    {
    “stroehouse_id” : 5001,
    “goodsbillcode”: “9001”,
    “evetype”:”入库”,
    “emp_id”:1001
    }

    3添加一级站点
    {
    station_id“ : 5001,
    “station_name”: “沈阳分拣中心”,
    “address”:”沈阳”
    }

    4添加二级站点
    {
    “station_id”:500102,
    “station_name”:”辽宁大连分公司”,
    “address”:”大连”,
    “father_id”:{
    “station_id”:5001
    }
    }
    5添加仓库
    {
    “stroehouse_id”:50010102,
    “storehousename”:”沈北仓库”,
    “volume”:2000,
    “used”:0,
    “status”:”正常运行”,
    “address”:”浑南”,
    “stationid”:{
    “station_id”:500101
    }
    }

    {“stroehouse_id”:”123”,”storehousename”:”撒地方”,”volume”:”342”,”used”:”3”,”status”:”为”,”address”:”微软”,”stationid”:{“station_id”:500103,”station_name”:””,”address”:””,”father_id”:{“station_id”:””}}}