修改安装

This commit is contained in:
郝大全
2017-06-23 13:14:42 +08:00
parent 2aad68b1c3
commit 7e720f4945
8 changed files with 16 additions and 15 deletions

View File

@@ -1,3 +1,4 @@
# PPGo_Job # PPGo_Job
定时任务管理 定时任务管理
代码参考自https://github.com/lisijie/webcron.git 代码参考自https://github.com/lisijie/webcron.git
修改

View File

@@ -7,8 +7,8 @@
package controllers package controllers
import ( import (
"PPGo_Job/libs" "github.com/PPGo_Job/libs"
"PPGo_Job/models" "github.com/PPGo_Job/models"
"github.com/astaxie/beego" "github.com/astaxie/beego"
"strconv" "strconv"
"strings" "strings"

View File

@@ -7,9 +7,9 @@
package controllers package controllers
import ( import (
"PPGo_Job/jobs" "github.com/PPGo_Job/jobs"
"PPGo_Job/libs" "github.com/PPGo_Job/libs"
"PPGo_Job/models" "github.com/PPGo_Job/models"
"github.com/astaxie/beego" "github.com/astaxie/beego"
"github.com/astaxie/beego/utils" "github.com/astaxie/beego/utils"
"runtime" "runtime"

View File

@@ -8,10 +8,10 @@
package controllers package controllers
import ( import (
crons "PPGo_Job/crons" crons "github.com/PPGo_Job/crons"
"PPGo_Job/jobs" "github.com/PPGo_Job/jobs"
"PPGo_Job/libs" "github.com/PPGo_Job/libs"
"PPGo_Job/models" "github.com/PPGo_Job/models"
"github.com/astaxie/beego" "github.com/astaxie/beego"
"strconv" "strconv"
"strings" "strings"

View File

@@ -8,8 +8,8 @@
package jobs package jobs
import ( import (
"PPGo_Job/models"
"fmt" "fmt"
"github.com/PPGo_Job/models"
"github.com/astaxie/beego" "github.com/astaxie/beego"
"os/exec" "os/exec"
"time" "time"

View File

@@ -8,10 +8,10 @@
package jobs package jobs
import ( import (
"PPGo_Job/mail"
"PPGo_Job/models"
"bytes" "bytes"
"fmt" "fmt"
"github.com/PPGo_Job/mail"
"github.com/PPGo_Job/models"
"github.com/astaxie/beego" "github.com/astaxie/beego"
"html/template" "html/template"
"os/exec" "os/exec"

View File

@@ -1,8 +1,8 @@
package main package main
import ( import (
"PPGo_Job/models" "github.com/PPGo_Job/models"
_ "PPGo_Job/routers" _ "github.com/PPGo_Job/routers"
"github.com/astaxie/beego" "github.com/astaxie/beego"
) )

View File

@@ -1,7 +1,7 @@
package routers package routers
import ( import (
"PPGo_Job/controllers" "github.com/PPGo_Job/controllers"
"github.com/astaxie/beego" "github.com/astaxie/beego"
) )