修改安装

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
定时任务管理
代码参考自https://github.com/lisijie/webcron.git
修改

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

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

View File

@@ -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"

View File

@@ -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"
)

View File

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