| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- 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)
- }
- /// Token校验
- export function tokenCheck(params: HttpRequest<{req: GuangZuan.TokenCheckReq, rsp: GuangZuan.TokenCheckRsp}>) {
- return httpRequest(service.config.goAccess+'/Account/TokenCheck', 'GET', 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)
- }
- /**
- * 查询开户行
- *
- */
- export function queryBankInfo(params: HttpRequest<{req: GuangZuan.GzCertAddressConfigReq, rsp: GuangZuan.BankInfo[]}>) {
- return httpRequest(service.config.goCommonSearchUrl+'/Qhj/QueryBankInfo', 'GET', params)
- }
- /**
- * 查询托管银行
- *
- */
- export function queryCusBankSignBank(params: HttpRequest<{req: GuangZuan.GzCertAddressConfigReq, rsp: GuangZuan.CusBankInfo[]}>) {
- return httpRequest(service.config.goCommonSearchUrl+'/Qhj/QueryCusBankSignBank', 'GET', params)
- }
- /**
- * 查询提现账户设置
- *
- */
- export function queryQhjUserCollectConfig(params: HttpRequest<{req: GuangZuan.QueryUserReceiveInfoReq, rsp: GuangZuan.UserCollectConfig[]}>) {
- return httpRequest(service.config.goCommonSearchUrl+'/Qhj/QueryUserCollectConfig', 'GET', params)
- }
- /**
- * 查询签约银行信息(提现账户管理)
- *
- */
- export function queryBankAccountSign(params: HttpRequest<{req: GuangZuan.QueryUserReceiveInfoReq, rsp: GuangZuan.BankAccountSign[]}>) {
- return httpRequest(service.config.goCommonSearchUrl+'/Qhj/QueryBankAccountSign', 'GET', params)
- }
- /**
- * 获取登录ID
- *
- */
- export function getLoginID(params: HttpRequest<{req: GuangZuan.GetLoginIDReq, rsp: GuangZuan.GetLoginIDRsp}>) {
- return httpRequest(service.config.goCommonSearchUrl+'/User/GetLoginID', 'GET', params)
- }
|