| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- 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)
- }
- /**
- * 获取登录ID
- *
- */
- export function getLoginID(params: HttpRequest<{req: GuangZuan.GetLoginIDReq, rsp: GuangZuan.GetLoginIDRsp}>) {
- return httpRequest(service.config.goCommonSearchUrl+'/User/GetLoginID', 'GET', params)
- }
|