{"id":22185891,"url":"https://github.com/wangle201210/rebxs","last_synced_at":"2025-08-09T14:27:53.386Z","repository":{"id":50636383,"uuid":"198165787","full_name":"wangle201210/rebxs","owner":"wangle201210","description":"忍者必须死-疯人院-积分-悬赏","archived":false,"fork":false,"pushed_at":"2019-09-04T13:28:41.000Z","size":368,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-02T10:17:59.896Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wangle201210.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-22T06:58:40.000Z","updated_at":"2024-10-04T02:20:48.000Z","dependencies_parsed_at":"2022-09-01T17:43:08.281Z","dependency_job_id":null,"html_url":"https://github.com/wangle201210/rebxs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangle201210%2Frebxs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangle201210%2Frebxs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangle201210%2Frebxs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangle201210%2Frebxs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wangle201210","download_url":"https://codeload.github.com/wangle201210/rebxs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236275185,"owners_count":19122729,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-02T10:18:01.528Z","updated_at":"2025-01-30T00:18:33.480Z","avatar_url":"https://github.com/wangle201210.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rebxs\n忍者必须死-疯人院-积分-悬赏\n### 技术栈 \n    vue + elementui + go + beego\n### 项目运行\n#### 本地\n    git clone https://github.com/wangle201210/rebxs.git\n    cd rebxs\n    go mod tidy\n    go mod vendor\n    bee run \n    \n#### 打包linux环境运行程序\n    bee pack -be GOOS=linux\n   [bee 工具安装方法](https://beego.me/docs/install/bee.md)\n\n#### 线上项目地址\n    录入数据界面由于数据是真实数据，所以需要输入密码后才能进入，此处不方便告知，有意者可以私聊我下面有我的私人qq\n   [demo](http://frb.iwangle.me/)\n### 表格分析\n#### 1.人员表 （user）\n\tname: 人员名字\n\n#### 2.项目表（project）\n\tname: 项目名字\n\n#### 3.项目对应积分算法表（score）\n\tproject_id: 对应项目\n\tmin: 最小值\n\tmax: 最大值\n\tscore: 积多少分\n\n\teg1: 项目表里添加一个项目名为河豚（id=1）,score表里面添加一条记录project_id=1 min=109 max=999 score = 4 \n\t\t意思即为河豚副本大于等于109小于等于999则积4分\n\n\teg2: 项目表里添加一个项目名为金币（id=2）,score表里面添加一条记录project_id=2 min=1600 max=1639 score = 2 \n\t\n\teg3: 项目表里添加一个项目名为主将（id=3）,score表里面添加一条记录project_id=3 min=1 max=1 score = 3\n\n\teg4: 项目表里添加一个项目名为团战一（id=4）,score表里面添加一条记录project_id=4 min=2 max=5 score = 2\n\n\teg5: 项目表里添加一个项目名为家族贡献（id=5）,score表里面添加一条记录project_id=5 min=1 max=1 score = 3\n\t\t意思即为家族贡献为1（此贡献非直接计算家族贡献积分的贡献值，此处想表达的是比如1就是管理员，2就是族长这类）此处为1则理解为管理员，则积3分\n\t（以上是我能想到的所有积分出现的情况，若还有未考虑到的，请批评指正）\n\n#### 4.悬赏表（reward）\n\t目前就直接按照固定算法，即s记1分，s+记2分，ss和ss+记4分\n\tuser_id:提供者\n\ttype:类型（s|s+|ss）\n\tparticipant:参与人员\n\ttime:时间\n\n#### 5.记录表（record）\n\tuser_id: 对应人员数据\n\tproject_id: 对应项目\n\tresult: 得分\n\ttime: 时间（时间考虑是自动根据添加时计算，还是手动录入，若自动计算，则管理员要实时录入，比如周天的家族战数据，若下周一才录入将会计入下一周的积分，这样或许不妥，如果手动录入会加大录入人员工作量）\n\n#### 6.汇总表，此表仅展示不储存（summary）\n\t根据现在统计方式计算汇总表需要显示内容为\n\ta.时间\n\tb.人员信息\n\tc.积分信息 积分信息会分为多列显示，会获取当前时间所有人的所有积分表，然后按照项目分组后得出表头\n\td.排名\n\n\t操作方式为：先选择一个时间（段），然后选择查看方式（分积分和成绩两种），最后点击查看，将会显示在页面，如果需要可以导出成excel\n\t最终生成表样式为\n\t| 成员 | 项目 ** | 项目 ** | ... | 悬赏 | 总积分 | 排名 |\n\t| 小张 |   2    |   3     | ... | 5   |  18    |  3  |\n\n\n### 可行性（相较于直接用excel）\n    当把基础设置项录入（或者我直接设置为固定数据）后，管理员只需要把每个人的成绩录入即可，不需要再去对照积分表算出没人每项积分，然后再去汇总（当然excel有自动汇总的功能）\n\t如果用excel每次要给工作表设置公式，即使只是简单的求和和排序也需要时间\n\t方便展示，不用每次都上传excel到群，管理员直接也不用相互等数据（比如上周出现的问题：柯基把数据录好了，结果忘记发给其他管理员，其他人就只能等着柯基睡醒了才能安排悬赏）\n\t方便扩展，比如后续如果做半年汇总，我可以提供原始数据、再如若呗安排进悬赏后相应要扣除一部分分值，比如被安排s后，对应总积分减一（方便后续的人被安排，不然每周基本都是那几位才能打到悬赏）\n\tlast but not least 高端大气上档次\n\n\n### 缺点 \n    程序的初始版本 2、3表将会定下来，不给修改功能，若需修改需要联系我（之后可能会添加修改积分规则方法）\n\t实质上还是绕不过录入人员数据的阶段，并且录入数据还没有excel那么方便\n\n\n### 其他\n    网站服务器和域名可以用我的，我的服务器2021年才到期\n\t开发上，如果感觉可行，我就当练习下我之前学习的新语言（golang）的写法，顺便为家族做点贡献\n\t担心的就是，我忙了几天，结果又不用～～这样很伤人的。\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwangle201210%2Frebxs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwangle201210%2Frebxs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwangle201210%2Frebxs/lists"}