yuliang 5 年之前
父節點
當前提交
43dd59ca79

+ 2 - 2
whepi-ui/templates/home/getLocation.js

@@ -10,7 +10,7 @@
 // ]
 // });
 function getLocation() {
-
+  return;
   wx.getLocation({
     type: 'wgs84',
     success: function (res) {
@@ -19,7 +19,7 @@ function getLocation() {
       var geocoder = new qq.maps.Geocoder({
         complete: function (result) {
           if ('当阳市' === result.detail.addressComponents.district) {
-            autoLocal='当阳市';
+            autoLocal = '当阳市';
           } else {
             autoLocal = result.detail.addressComponents.city;
           }

+ 1 - 1
whepi-web/src/main/java/com/bofeng/controller/EpiAdminController.java

@@ -79,7 +79,7 @@ public class EpiAdminController {
         System.out.println("==============执行定时任务完毕================");
     }
 
-    @Scheduled(cron = "0 10 20 * * ?") //每天19点执行一次
+    @Scheduled(cron = "0 0 19 * * ?") //每天19点执行一次
     public void scheduledTaskByFixedDelay2() {
         System.out.println("==============执行定时任务开始================");
         Long start = 0L, count = 100L;