Giter Site home page Giter Site logo

drupal-account's Introduction

Finance account

本模块提供简单的财务管理功能:

  • 每个用户可以创建多个记账账户。
  • 用户可以对账户资金申请提现。
  • 提供多种提现网关。
  • 用户可以设置多个提现方式。
  • 可配置最大提现限额。
  • 可对账户类型配置资金提现周期。(进账款在一定时间之后才能提现)

数据结构

Content Entity

  • Account 账户

  • Ledger 账户记录

  • Withdraw 提现单

  • WithdrawMethod 提现方式

    指定了使用的转账网关 Gateway config entity,收款账号信息

Config Entity

  • Gateway 转账网关

    指定了网关插件 TransferGateway,和插件配置数据

Config

  • AccountType (bundle)
    • withdraw_period 提现周期
    • minimum_withdraw 单笔最小提现限额
    • maximum_withdraw 单笔最大提现限额

插件类型

  • TransferGateway 转账网关

服务

  • FinanceManager 财务管理器

    • 创建账户
    • 创建账户记录

事件处理器

  • 提现单作 转账 transfer 状态转换时,执行打款操作

界面

  • 提现申请提交(创建提现单)
  • 提现单管理(列表页)
  • 提现单详情页 (view)

接口

  • 创建提现单

drupal-account's People

Contributors

canvaskent avatar solody avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.