Explorar o código

crontab clear update orders

abiao %!s(int64=5) %!d(string=hai) anos
pai
achega
8dbfb7421f

+ 2 - 2
go/gopath/src/fohow.com/apps/controllers/cron_controller/init.go

@@ -81,9 +81,9 @@ func exec(name string) {
 	case "cancel_order": //下单24h未支付改为已取消
 		go OrderCancelAutomatically()
 	case "send_cent": //补发积分执行一次
-		go patchCent()
+		//go patchCent()
 	case "clear_update_orders": //清理过期物流数据
-		go patchCent()
+		//go patchCent()
 		go express_model.ClearUpdateOrders()
 	default:
 		beego.BeeLogger.Error("Didn't get task wity name:[%s]", name)