|
|
@@ -1,7 +1,6 @@
|
|
|
package cron_controller
|
|
|
|
|
|
import (
|
|
|
- "fohow.com/apps/models/express_model"
|
|
|
"github.com/astaxie/beego"
|
|
|
"github.com/astaxie/beego/context"
|
|
|
|
|
|
@@ -83,8 +82,7 @@ func exec(name string) {
|
|
|
case "send_cent": //补发积分执行一次
|
|
|
//go patchCent()
|
|
|
case "clear_update_orders": //清理过期物流数据
|
|
|
- //go patchCent()
|
|
|
- go express_model.ClearUpdateOrders()
|
|
|
+ go clearUpdateOrders()
|
|
|
default:
|
|
|
beego.BeeLogger.Error("Didn't get task wity name:[%s]", name)
|
|
|
}
|