修改安装
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
# PPGo_Job
|
||||
定时任务管理
|
||||
代码参考自https://github.com/lisijie/webcron.git
|
||||
修改
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
package controllers
|
||||
|
||||
import (
|
||||
"PPGo_Job/libs"
|
||||
"PPGo_Job/models"
|
||||
"github.com/PPGo_Job/libs"
|
||||
"github.com/PPGo_Job/models"
|
||||
"github.com/astaxie/beego"
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
@@ -7,9 +7,9 @@
|
||||
package controllers
|
||||
|
||||
import (
|
||||
"PPGo_Job/jobs"
|
||||
"PPGo_Job/libs"
|
||||
"PPGo_Job/models"
|
||||
"github.com/PPGo_Job/jobs"
|
||||
"github.com/PPGo_Job/libs"
|
||||
"github.com/PPGo_Job/models"
|
||||
"github.com/astaxie/beego"
|
||||
"github.com/astaxie/beego/utils"
|
||||
"runtime"
|
||||
|
||||
@@ -8,10 +8,10 @@
|
||||
package controllers
|
||||
|
||||
import (
|
||||
crons "PPGo_Job/crons"
|
||||
"PPGo_Job/jobs"
|
||||
"PPGo_Job/libs"
|
||||
"PPGo_Job/models"
|
||||
crons "github.com/PPGo_Job/crons"
|
||||
"github.com/PPGo_Job/jobs"
|
||||
"github.com/PPGo_Job/libs"
|
||||
"github.com/PPGo_Job/models"
|
||||
"github.com/astaxie/beego"
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
package jobs
|
||||
|
||||
import (
|
||||
"PPGo_Job/models"
|
||||
"fmt"
|
||||
"github.com/PPGo_Job/models"
|
||||
"github.com/astaxie/beego"
|
||||
"os/exec"
|
||||
"time"
|
||||
|
||||
@@ -8,10 +8,10 @@
|
||||
package jobs
|
||||
|
||||
import (
|
||||
"PPGo_Job/mail"
|
||||
"PPGo_Job/models"
|
||||
"bytes"
|
||||
"fmt"
|
||||
"github.com/PPGo_Job/mail"
|
||||
"github.com/PPGo_Job/models"
|
||||
"github.com/astaxie/beego"
|
||||
"html/template"
|
||||
"os/exec"
|
||||
|
||||
4
main.go
4
main.go
@@ -1,8 +1,8 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"PPGo_Job/models"
|
||||
_ "PPGo_Job/routers"
|
||||
"github.com/PPGo_Job/models"
|
||||
_ "github.com/PPGo_Job/routers"
|
||||
"github.com/astaxie/beego"
|
||||
)
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package routers
|
||||
|
||||
import (
|
||||
"PPGo_Job/controllers"
|
||||
"github.com/PPGo_Job/controllers"
|
||||
"github.com/astaxie/beego"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user