|
12345678910111213141516171819202122232425262728293031323334353637 |
- using HKCardIN.Helper;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using XExten.Advance.HttpFramework.MultiFactory;
-
- namespace HKCardIN.Logic
- {
- public class BaseLogic : Singleton<BaseLogic>
- {
- /// <summary>
- /// 同步用户和卡信息
- /// </summary>
- /// <returns></returns>
- public async Task<dynamic> PullUserAndCardInfo()
- {
- return await IHttpMultiClient.HttpMulti.AddNode(t =>
- {
- t.NodePath = ApiRoute.PullUserAndCardInfo;
- }).Build().RunStringFirstAsync();
- }
- /// <summary>
- /// 同步充值记录
- /// </summary>
- /// <param name="input"></param>
- /// <returns></returns>
- public async Task<dynamic> PushMoneyToServer(dynamic input)
- {
- return await IHttpMultiClient.HttpMulti.AddNode(t =>
- {
- t.NodePath = ApiRoute.PushMoneyToServer;
- }).Build().RunStringFirstAsync();
- }
- }
- }
|