parent
58fa3f8731
commit
65ad741fc9
@ -0,0 +1,22 @@
|
||||
package top.liangwy.read_statistics.common;
|
||||
|
||||
public class BaseController {
|
||||
|
||||
// 云上伊川积分
|
||||
public String[] free = { "梁文元", "闫露", "姜琰", "方伊东", "李元", "孙飞飞" };
|
||||
/**
|
||||
* 查询的url
|
||||
*/
|
||||
public String url = "http://app2.dxhmt.cn:10329/system/uUser/list";
|
||||
|
||||
// 快手积分
|
||||
public String ksFree = "Joy,5429264664,是姜姜呀呀,老方聊青铜,李元668,人生充满阳光715,陶利,郭明杰563,旷野幽兰50808," +
|
||||
"吴晓晖,张建校,王晓华,钟响亮,田津辉,张睿祥.,韩晓娜,杨玉明,宁霞,cht135236,13608656363,13938862929,15038503566,王晓芳," +
|
||||
"13938803441,李辉晓\uD83D\uDC83,";
|
||||
|
||||
// 微信看一看
|
||||
// public String ScanFree = "梁文元,闫露,姜琰,方伊东,李元,孙飞飞,陶利平,郭明杰,赵艳红,吴晓晖,张建校,王晓芳,";
|
||||
public String ScanFree = "";
|
||||
// 微博
|
||||
public String WbFree = "孙飞32207,用户3hms2qw5ml,元元-ly,Joy-9716,姜姜_呦,大肋肋,小淘气rui,高静亚,小淘气rui,yiqili_,周雅丽yl,Mayajie3,赵yiman,用户928003530,用户7624278904,7728498387,";
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE configuration
|
||||
PUBLIC "-//mybatis.org//DTD Config 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-config.dtd">
|
||||
<configuration>
|
||||
<environments default="development">
|
||||
<environment id="development">
|
||||
<transactionManager type="JDBC"/>
|
||||
<dataSource type="POOLED">
|
||||
<property name="driver" value="com.mysql.cj.jdbc.Driver"/>
|
||||
<property name="url" value="jdbc:mysql://39.97.211.66/dblwy?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai"/>
|
||||
<property name="username" value="DBLwy"/>
|
||||
<property name="password" value="tx8yH88dJseWt72x"/>
|
||||
<property name="poolPingQuery" value="SELECT NOW()" />
|
||||
<property name="poolPingEnabled" value="true" />
|
||||
</dataSource>
|
||||
</environment>
|
||||
</environments>
|
||||
<mappers>
|
||||
<mapper resource="top/liangwy/read_statistics/dao/UserMapper.xml"/>
|
||||
<mapper resource="top/liangwy/read_statistics/dao/IntegralMapper.xml"/>
|
||||
<mapper resource="top/liangwy/read_statistics/dao/DeptMapper.xml"/>
|
||||
<mapper resource="top/liangwy/read_statistics/dao/ScanMapper.xml"/>
|
||||
<mapper resource="top/liangwy/read_statistics/dao/IntegralMapper.xml"/>
|
||||
<mapper resource="top/liangwy/read_statistics/dao/KsMapper.xml"/>
|
||||
<mapper resource="top/liangwy/read_statistics/dao/WbMapper.xml"/>
|
||||
</mappers>
|
||||
</configuration>
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,28 @@
|
||||
//增加30分
|
||||
function addScore(userId) {
|
||||
console.log(userId);
|
||||
$.ajax({
|
||||
type: "post",
|
||||
contentType: "application/json",
|
||||
url: "/api/score/edit",
|
||||
dataType: 'json',
|
||||
cache: false,
|
||||
timeout: 600000,
|
||||
data: JSON.stringify({ "userId": userId }
|
||||
)
|
||||
}).done(function (result) {
|
||||
console.log(result);
|
||||
if ($("td").eq("增加30分")) {
|
||||
$("#" + userId).text("已增加").css("color", "red");
|
||||
}
|
||||
})
|
||||
}
|
||||
function f(userName) {
|
||||
console.log(userName);
|
||||
if ($("#" + userName).next().text() == "") {
|
||||
$("#" + userName).next().text("已完成");
|
||||
}
|
||||
else{
|
||||
$("#" + userName).next().text("");
|
||||
}
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns="http://www.w3.org/1999/html">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Home</title>
|
||||
<!-- <div th:replace="common/head :: head"></div>-->
|
||||
<title th:text="'快手评论统计表'"></title>
|
||||
<link rel="stylesheet" th:href="@{/css/bootstrap.min.css}">
|
||||
<script th:src="@{/js/bootstrap.min.js}"></script>
|
||||
<script th:src="@{/js/jquery-3.6.0.min.js}"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<br>
|
||||
<br>
|
||||
|
||||
<div class="container">
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading">
|
||||
<h2 class="panel-title">添加今天的快手评论名单:</h2>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<form th:action="@{/ks/edit}" method="post">
|
||||
<h3>请输入人员名单:</h3>
|
||||
<!-- <input type="text" name="userScanList"/>-->
|
||||
<textarea class="form-control" name="userKsList" id="userKsList" rows="5"></textarea>
|
||||
<br>
|
||||
<div class="align:center">
|
||||
<button class="btn btn-primary m-2" type="submit">提交</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div th:if="${info}">
|
||||
<div class="alert alert-success">提交成功!</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,42 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns="http://www.w3.org/1999/html">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Home</title>
|
||||
<!-- <div th:replace="common/head :: head"></div>-->
|
||||
<link rel="stylesheet" th:href="@{/css/bootstrap.min.css}">
|
||||
<script th:src="@{/js/bootstrap.min.js}"></script>
|
||||
<script th:src="@{/js/jquery-3.6.0.min.js}"></script>
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<br>
|
||||
<br>
|
||||
|
||||
<div class="container">
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading">
|
||||
<h2 class="panel-title">添加今天的在看名单</h2>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<form th:action="@{/scan/insert}" method="post">
|
||||
<h3>请输入人员名单:</h3>
|
||||
<!-- <input type="text" name="userScanList"/>-->
|
||||
<textarea class="form-control" name="userScanList" id="userScanList" rows="5"></textarea>
|
||||
<br>
|
||||
<div class="align:center">
|
||||
<button class="btn btn-primary m-2" type="submit">提交</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div th:if="${info}">
|
||||
<div class="alert alert-success">提交成功!<a th:href="@{/scan/today}">查看</a></div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
@ -0,0 +1,42 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns="http://www.w3.org/1999/html">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>微博统计</title>
|
||||
<!-- <div th:replace="common/head :: head"></div>-->
|
||||
<link rel="stylesheet" th:href="@{/css/bootstrap.min.css}">
|
||||
<script th:src="@{/js/bootstrap.min.js}"></script>
|
||||
<script th:src="@{/js/jquery-3.6.0.min.js}"></script>
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<br>
|
||||
<br>
|
||||
|
||||
<div class="container">
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading">
|
||||
<h2 class="panel-title">添加今天的微博名单</h2>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<form th:action="@{/wb/insert}" method="post">
|
||||
<h3>请输入人员名单:</h3>
|
||||
<!-- <input type="text" name="userScanList"/>-->
|
||||
<textarea class="form-control" name="wbUserScanList" id="wbUserScanList" rows="5"></textarea>
|
||||
<br>
|
||||
<div class="align:center">
|
||||
<button class="btn btn-primary m-2" type="submit">提交</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div th:if="${info}">
|
||||
<div class="alert alert-success">提交成功!<a th:href="@{/wb/today}">查看</a></div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
Loading…
Reference in new issue