fix: 更换银行模块源及修复钱钱小数
This commit is contained in:
@@ -9,6 +9,7 @@ using Volo.Abp.DependencyInjection;
|
||||
|
||||
namespace Yi.Framework.Bbs.Domain.Managers.BankValue
|
||||
{
|
||||
[Dependency(TryRegister =true)]
|
||||
public class BiyingBankValueProvider : IBankValueProvider, ITransientDependency
|
||||
{
|
||||
//官网地址:www.biyingapi.com
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Volo.Abp.DependencyInjection;
|
||||
|
||||
namespace Yi.Framework.Bbs.Domain.Managers.BankValue
|
||||
{
|
||||
[Dependency(ReplaceServices = true)]
|
||||
internal class RandownBankValueProvider : IBankValueProvider, ITransientDependency
|
||||
{
|
||||
public Task<decimal> GetValueAsync()
|
||||
{
|
||||
var currentNumber = new Random().Next(800, 1200);
|
||||
return Task.FromResult((decimal)currentNumber);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user