Skip to content

极创移动oa(学生端)

李智 edited this page Mar 4, 2014 · 14 revisions

##用户管理## ###用户登陆###

  /api/oasystem/usermanage/login

Request:

method:POST
username:String
password:String

Response:

{
    "status":RESULT_CONSTANT,
    "datas":[
       {functionId:String},
       {functionId:String},
       {functionId:String},
       ...
     ]  //功能编号
}

###查看用户信息###

/api/oasystem/usermanage/showInfo

Request:

method:GET

Response:

{
   "status":RESULT_CONSTANT,
   "data":{ 
   "userName":String, //用户名
   "realName":String, //真实姓名
   "mobilePhone":String, //手机号码
   "officePhone":String,//办公号码
   "email":String //电子邮件
   }
}

##学工模块## ###勤工助学申请### ####提交贫困生证明照片#### /api/oasystem/stworkmanage/submit

Request:

method:POST
file:$file //文件二进制流

Response:

{
   "status":RESULT_CONSTANT
}

####提交岗位申请单####

/api/oasystem/stworkmanage/apply

Request:

method:POST
firstWish:String  //第一志愿 
secondWish:String   //第二志愿
imageAddress:String//照片地址 (先上传文件获得地址,这图片上传公用接口见下面上传图片模块)

Response:

{
   "status":RESULT_CONSTANT,
   "hwstudyId":String  //岗位申请单编号
}

##上传图片##

/api/oasystem/uploadImage

Request:

Method:POST
file:$file

Reponse:

 {
     "status":RESUTL_CONSTANT,
     "url":String  //图片地址
 }

##生活模块## ###公共财产保修### /api/oasystem/lifemanage/repair

Request:

Method:POST

accidentDate:String //事故发生日期
repDescripe:String //事故描述
imageAddress:String //图片地址

Response:

{
    "status":RESULT_CONSTANT,
    "repairId":String //保修单编号
}

##学习模块## ###上课签到###

 扫描

Reponse:

{
   "status":RESULT_CONSTANT,
   "url":String //再访问url,就签到成功
} 
Clone this wiki locally