import { httpRequest } from '../../../services/http/index' import { HttpRequest } from '../../../services/http/interface' import service from '../../../services/index' /** * 用户登录 * */ export function login(params: HttpRequest<{req: GuangZuan.LoginReq, rsp: GuangZuan.LoginRsp}>) { return httpRequest(service.config.goAccess+'/Account/Login', 'POST', params) } /** * 账户登录后信息查询 * */ export function loginQuery(params: HttpRequest<{req: GuangZuan.LoginQueryReq, rsp: GuangZuan.LoginQuery}>) { return httpRequest(service.config.goCommonSearchUrl+'/User/LoginQuery', 'GET', params) } /** * 获取资金账户信息 * */ export function getTaAccounts(params: HttpRequest<{req: GuangZuan.TaAccountReq, rsp: GuangZuan.TaAccount}>) { return httpRequest(service.config.goCommonSearchUrl+'/TaAccount/GetTaAccounts', 'GET', params) }