增加 同步物流服务,并扣款

This commit is contained in:
chfei committed 2026-09-23 16:22:34 +08:00
1 parent f27428b5f9
commit 6863194328
24 files changed
+538 -114

No files matched your search

@@ -0,0 +1,32 @@
using Store.Contracts.User.Entitys;
using Store.Contracts.User.Enums;
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Store.Contracts.User.Interfaces;
public interface IUserService
{
OEMEntity GetOEMByOemId(string oemId, bool isCache = true);
OEMEntity GetOEMByUserName(string userName, bool isCache = true);
List<UserEntity> GetOEMUsers(string oemId, bool includeSu = true);
List<UserEntity> GetUserAndSubUser(string userName);
UserEntity GetUserByUserName(string userName);
bool IsOem(string userName);
OEMEntity SettleOemFlows(string userName, DbTransaction tarn = null);
long SettleUserFlows(string userName, DbTransaction tarn = null);
/// <summary>
/// 用户消费付款记录
/// </summary>
/// <param name="userName"></param>
/// <param name="orderId"></param>
/// <param name="type"></param>
/// <param name="tarn"></param>
/// <exception cref="Exception"></exception>
void UserPayment(string userName, string orderId, UserPaymentTypes type, DbTransaction tarn = null);
}