sdk: 登录
This commit is contained in:
@@ -61,4 +61,10 @@ export default class AccountController extends Controller {
|
||||
const { name, idNum } = ctx.request.body;
|
||||
ctx.body = await ctx.service.auth.authentication(name, idNum);
|
||||
}
|
||||
|
||||
public async channelLogin() {
|
||||
const { ctx } = this;
|
||||
const { channelType, pst, clientId, deviceId, platform, pkgName, serverType, getuiCID } = ctx.request.body;
|
||||
ctx.body = await ctx.service.auth.channelLogin(channelType, clientId, pst, deviceId, platform, pkgName, serverType, getuiCID);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user