提交 b6a1e517 authored 作者: zyx's avatar zyx

update

上级 dbff0309
......@@ -22,6 +22,7 @@ export default class OtherAction extends BaseACTION {
* 当前登录用户,检测是否该系统有权限
*/
getInfo () { return Other.getInfo().then(res => res) }
examAutoLogin (obj) { return Other.examAutoLogin(obj).then(res => res) }
/* 调用退出登录接口 */
outLogin () { return Other.outLogin().then(res => res) }
/**
......
......@@ -10,6 +10,8 @@ export default class OtherAPI extends BaseAPI {
* 获取我的消息信息
*/
getMyMsg = () => this.get('/v2/education/message/my', {})
/* 支持三方登录 */
examAutoLogin = (obj) => this.post('https://api.kaoshixing.com/api/company/data/177165/?jwt=', obj, { headers: { 'Content-Type': 'application/x-www-form-urlencoded' } })
/**
* 调用退出登录
*/
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论