/**
* @param {string} authUrl 认证服务器地址
*/
let res = await request.send({
url: `${authUrl}oauth2/token`,
type: "post",
data: {
client_id: "kapok",
client_secret: "mall",
grant_type: "password",
username: ******,
password: ******,,
},
});
/**
* @param {string} apiUrl 接口服务器地址
*/
let res = await request.sendToken({
url: `${apiUrl}auman/user/info`,
type: "get",
});
暂无