Print

1、getToken

简要描述:

请求URL: /api/getToken

请求方式:

参数:

参数名必选类型说明
appIdstring
appKeystring

返回示例

  {
    "result": 0,
    "msg": "成功",
    "token": "AFEWS"
  }

返回参数说明

参数名类型说明
resultint返回码,0:成功;1:失败
msgstring返回信息
tokenstring返回token

备注

2、班次查询

简要描述:

请求URL: /api/getClassStudent

请求方式:

参数:

参数名必选类型说明
classCodestring班次编号
tokenstringtoken

返回示例

  {
    "result": "0",
    "msg": "获取成功",
    "data": [{
      "rowid": "1",
      "classCode": "12345",
      "className": "培训时间",
      "hotelName": 2 ,
      "workTime": "1436865212",
      "workStartTime": "2019-03-01 00:00:00.000",
      "workEndTime": "2019-03-11 00:00:00.000",
      "deptName": "1436865212",
      "company": "国网重庆市电力公司客户服务中心",
      "companyId": "030c2b578ad64bc4ba4e33727d9804db",
      "companyBill": "国网重庆市电力公司客户服务中心",
      "companyBillId": "08a8e25190ac4c649623c2049e15bde6",
      "userName": "张三",
      "userCode": "245103198805222332",
      "userNo": "1001",
      "phone": "13377778985",
      "isCome": "是" ,
      "comeStatus": "1436865212",
      "inRoom": "201",
      "inDate": "2019-05-01 08:01:20",
      "outDate": "2019-05-05 14:02",
      "SsId": "A1342",
      "face": "",
      "finger": "",
      "SsPeriod": "期次",
      "SsOrder": "排序",
      "FeeKind": "收费方式",
      "UserKind": "用工类型",
      "SsRmeark": "备注 ",
      "opertime": "2019-05-05 14:02:10",
      "SsRmeark": "/9j/4AAQSkZJRgABAQEAYABgAAD/"
    },{
       "rowid": "2",
      "classCode": "12345",
      "className": "培训时间",
      "hotelName": 2 ,
      "workTime": "1436865212",
      "workStartTime": "2019-03-01 00:00:00.000",
      "workEndTime": "2019-03-11 00:00:00.000",
      "deptName": "1436865212",
      "company": "国网重庆市电力公司客户服务中心",
      "companyId": "030c2b578ad64bc4ba4e33727d9804db",
      "companyBill": "国网重庆市电力公司客户服务中心",
      "companyBillId": "08a8e25190ac4c649623c2049e15bde6",
      "userName": "张三",
      "userCode": "245103198805222332",
      "userNo": "1002",
      "phone": "13377778985",
      "isCome": "是" ,
      "comeStatus": "1436865212",
      "inRoom": "201",
      "inDate": "2019-05-01 08:01:20",
      "outDate": "2019-05-05 14:02",
      "SsId": "A1342",
      "face": "",
      "finger": "",
      "SsPeriod": "期次",
      "SsOrder": "排序",
      "FeeKind": "收费方式",
      "UserKind": "用工类型",
      "SsRmeark": "备注 ",
      "opertime": "2019-05-05 14:02:10",
      "SsRmeark": "/9j/4AAQSkZJRgABAQEAYABgAAD/"
    }]
  }

返回参数说明

参数名类型说明
rowidint序号
classCodestring班次编码
classNamestring班次名称
hotelNamestring培训点
workTimestring培训时间
workStartTimestring培训开始时间
workEndTimestring培训结束时间
deptNamestring负责单位
studentNumint学员人数
inNumint报道人数
stayNumint入住人数
companystring送培单位
companyIdstring送培单位Id
companyBillstring开票单位
companyBillIdstring开票单位Id
userNamestring姓名
userCodestring身份证
userNostring工号
phonestring电话
isComestring是否报道
comeStatusstring报道状态
inRoomstring入住房间
inDatesting入住时间
outDatestring退房时间
SsIdstring报名回执ID
facestring人脸
fingerstring指纹
SsPeriodstring期次
SsOrderstring排序
FeeKindstring收费方式
UserKindstring用工类型
SsRmearkstring备注
opertimestring报道时间
signstring签字

备注