mirror of https://gitee.com/y_project/RuoYi.git
准备做ws短信批量上传
parent
d173c4f29f
commit
2d4c2d61e4
|
@ -154,7 +154,7 @@
|
||||||
</plugin> -->
|
</plugin> -->
|
||||||
</plugins>
|
</plugins>
|
||||||
<finalName>${project.artifactId}</finalName>
|
<finalName>${project.artifactId}</finalName>
|
||||||
<resources>
|
<!-- <resources>
|
||||||
<resource>
|
<resource>
|
||||||
<directory>src/main/resources</directory>
|
<directory>src/main/resources</directory>
|
||||||
<excludes>
|
<excludes>
|
||||||
|
@ -162,7 +162,7 @@
|
||||||
<exclude>*.xml</exclude>
|
<exclude>*.xml</exclude>
|
||||||
</excludes>
|
</excludes>
|
||||||
</resource>
|
</resource>
|
||||||
</resources>
|
</resources>-->
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<th:block th:include="include :: header('新增WS短信任务配置')" />
|
<th:block th:include="include :: header('新增WS短信任务配置')" />
|
||||||
<th:block th:include="include :: datetimepicker-css" />
|
<th:block th:include="include :: datetimepicker-css" />
|
||||||
|
|
||||||
<th:block th:include="include :: bootstrap-fileinput-css" />
|
<th:block th:include="include :: jasny-bootstrap-css" />
|
||||||
</head>
|
</head>
|
||||||
<body class="white-bg">
|
<body class="white-bg">
|
||||||
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
||||||
|
@ -15,15 +15,15 @@
|
||||||
<input name="taskName" class="form-control" type="text" required>
|
<input name="taskName" class="form-control" type="text" required>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<!-- <div class="form-group">
|
||||||
<label class="col-sm-3 control-label">单价:</label>
|
<label class="col-sm-3 control-label">单价:</label>
|
||||||
<div class="col-sm-8">
|
<div class="col-sm-8">
|
||||||
<input name="price" class="form-control" type="text">
|
<input name="price" class="form-control" type="text">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>-->
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="font-noraml col-sm-3 control-label">物料</label>
|
<label class="font-noraml col-sm-3 control-label">物料</label>
|
||||||
<div class="col-sm-8">
|
<!-- <div class="col-sm-8">
|
||||||
<div class="file-loading" >
|
<div class="file-loading" >
|
||||||
<input id="singleFile" name="file" type="file">
|
<input id="singleFile" name="file" type="file">
|
||||||
</div>
|
</div>
|
||||||
|
@ -31,6 +31,17 @@
|
||||||
<input type="hidden" name="filePath" id="filePath">
|
<input type="hidden" name="filePath" id="filePath">
|
||||||
<input type="hidden" name="fileMd5" id="fileMd5">
|
<input type="hidden" name="fileMd5" id="fileMd5">
|
||||||
<input type="hidden" name="context" id="context">
|
<input type="hidden" name="context" id="context">
|
||||||
|
</div>-->
|
||||||
|
<!-- <div class="col-sm-8">
|
||||||
|
<input id="filePath" name="filePath" class="form-control " type="file">
|
||||||
|
</div>-->
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<div class="fileinput fileinput-new" data-provides="fileinput">
|
||||||
|
<span class="btn btn-white btn-file"><span class="fileinput-new">选择文件</span><span class="fileinput-exists">重新选择</span><input type="file" name="..."></span>
|
||||||
|
<span class="fileinput-filename"></span>
|
||||||
|
<a href="javascript:;" class="close fileinput-exists" data-dismiss="fileinput" style="float: none">×</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
@ -61,10 +72,18 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-sm-offset-5 col-sm-10">
|
||||||
|
<button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>
|
||||||
|
<button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<th:block th:include="include :: footer" />
|
<th:block th:include="include :: footer" />
|
||||||
<th:block th:include="include :: datetimepicker-js" />
|
<th:block th:include="include :: datetimepicker-js" />
|
||||||
<th:block th:include="include :: bootstrap-fileinput-js" />
|
<!-- <th:block th:include="include :: bootstrap-fileinput-js" />-->
|
||||||
|
<th:block th:include="include :: jasny-bootstrap-js" />
|
||||||
<script th:inline="javascript">
|
<script th:inline="javascript">
|
||||||
var prefix = ctx + "sms/task/ws"
|
var prefix = ctx + "sms/task/ws"
|
||||||
$("#form-task-add").validate({
|
$("#form-task-add").validate({
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="btn-group-sm" id="toolbar" role="group">
|
<div class="btn-group-sm" id="toolbar" role="group">
|
||||||
<a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="sms:task:ws:add">
|
<a class="btn btn-success" onclick="$.operate.addTab()" shiro:hasPermission="sms:task:ws:add">
|
||||||
<i class="fa fa-plus"></i> 添加
|
<i class="fa fa-plus"></i> 添加
|
||||||
</a>
|
</a>
|
||||||
<a class="btn btn-primary multiple disabled" onclick="$.operate.editStatus()" shiro:hasPermission="sms:task:ws:edit">
|
<a class="btn btn-primary multiple disabled" onclick="$.operate.editStatus()" shiro:hasPermission="sms:task:ws:edit">
|
||||||
|
|
|
@ -4,12 +4,11 @@ import lombok.SneakyThrows;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.beans.factory.annotation.Value;
|
import org.springframework.beans.factory.annotation.Value;
|
||||||
import org.springframework.stereotype.Component;
|
|
||||||
import org.telegram.telegrambots.bots.TelegramLongPollingBot;
|
import org.telegram.telegrambots.bots.TelegramLongPollingBot;
|
||||||
import org.telegram.telegrambots.meta.api.objects.Update;
|
import org.telegram.telegrambots.meta.api.objects.Update;
|
||||||
import org.telegram.telegrambots.meta.exceptions.TelegramApiException;
|
import org.telegram.telegrambots.meta.exceptions.TelegramApiException;
|
||||||
|
|
||||||
@Component
|
//@Component
|
||||||
@Slf4j
|
@Slf4j
|
||||||
public class TgLongPollingBot extends TelegramLongPollingBot {
|
public class TgLongPollingBot extends TelegramLongPollingBot {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue