Code Monkey home page Code Monkey logo

tongjipetwelfare's People

Contributors

asceking avatar daenerystar avatar m2030123 avatar shiguangbiyi avatar victorhuu avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

asceking

tongjipetwelfare's Issues

关于论坛页面渲染较慢问题

同样获取信息列表,公告页面就比论坛页面快得多,但是它们获取的内容量相差不大,为什么论坛就慢得多?

密码的安全存储

登录的密码需要用SHA-256算法转换然后与存储在数据库中的加密字段对比从而验证登录,Oracle数据库中预计密码格式为RAW(64)。

提交寄养申请表

提供宠物名、宠物类型、寄养开始时间、寄养天数、备注信息,将申请表存入数据库,标注为“未审核”的状态

Discussion:从用户角度出发,是否应该让前端把“天数”改成“寄养结束时间”?(接口你们就按数据库的格式来就好,如果要改的话在我的Controller这一层应该就能转)(数据库的格式是什么来着?)

附录(主要给我自己看):目前前端提供的数据
const foster_table = { name: form.name, type: radio.value, radio3: radio3.value, date1: form.date1, num: form.num, desc: form.desc, };
name:宠物昵称;type:宠物类型;radio3:宠物类型进一步细分(eg:大中小型犬);date1:寄养开始时间;num:寄养天数;desc:备注文字

(管理员)获取/修改寄养申请表

  1. 向数据库获取寄养申请表数据,建议将“审核状态”作为一个参数(?)(因为现在只要“未审核”的,但以后可能要展示所有历史)

返回的申请表数据应该包含:

寄养开始日期
ID(对应数据库的什么?申请表的ID吗?)
宠物ID
申请人UID
寄养天数
审核状态

  1. 修改申请表的审核状态(仅可修改审核状态)

同理,如果存在寄养天数/截止日期的问题,在Controller转换

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.