| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- 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)
- }
- /**
- * 查询开户行
- *
- */
- 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)
- }
|