Giter Site home page Giter Site logo

hhxiaohei / dandan-account Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gzhiyi/dandan-account

0.0 1.0 0.0 537 KB

🐷 不记录任何用户身份信息;专注记账的目的;账单清晰自然,报表易懂易分析;助你理财之路轻松有意义,小程序【单单记账】。

License: MIT License

JavaScript 100.00%

dandan-account's Introduction

单单记账







无任何信息授权
持续更新
🎉欢迎使用🎉
🎉欢迎star && fork🎉



扫码_搜索联合传播样式-标准色版.png

函数文档

记账

新增一笔账单(函数名:account, mode: add)

key 说明 是否必填
money 金钱, 限制到小数位后连点, 如100.00
categoryId 分类ID
noteDate 此记录的时间,具体到日期, 可用Date格式,格式: 2019-8-21
description 记录的描述
flow 金钱的流向, 0-支出, 1-收入

修改一笔账单(函数名:account, mode: updateById)

key 说明 是否必填
id id
money 金钱, 限制到小数位后连点, 如100.00
categoryId 分类ID
noteDate 此记录的时间,具体到日期, 可用Date格式,格式: 2019-8-21
description 记录的描述

删除一笔账单(函数名:account, mode: deleteById)

key 说明 是否必填
id id

获取一笔账单(函数名:account, mode: getNoteById)

key 说明 是否必填
id id

根据菜单ID删除账单(函数名:account, mode: deleteByCategoryId)

key 说明 是否必填
categoryId 菜单ID, categoryId
获取分类列表

获取分类列表(函数名:getCategory)

key 说明 是否必填
flow 金钱的流向, 0-支出, 1-收入
聚合记账数据

按开始时间与结束时间聚合金钱(函数名:accountAggregate, mode: aggregateAccountByDateRange)

key 说明 是否必填
startDate 开始时间, 需要注意的是, 假如是2019-9-8日, 传入的格式必须是 ** 2019-09-08 **
endDate 结束时间, 需要注意的是, 假如是2019-9-8日, 传入的格式必须是 ** 2019-09-08 **

根据FLOW流向详细聚合数据(函数名:accountAggregate, mode: aggregateAccountInDetail)

key 说明 是否必填
startDate 开始时间, 需要注意的是, 假如是2019-9-8日, 传入的格式必须是 ** 2019-09-08 **
endDate 结束时间, 需要注意的是, 假如是2019-9-8日, 传入的格式必须是 ** 2019-09-08 **
flow 金钱流向

dandan-account's People

Contributors

guozf2018 avatar gzhiyi avatar hequanb avatar lemonicestuff 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.