forked from golang/hotime
巴中恩阳适配
This commit is contained in:
parent
20390091f2
commit
2291ba7402
@ -5,7 +5,7 @@ import (
|
|||||||
. "../../../hotime/common"
|
. "../../../hotime/common"
|
||||||
)
|
)
|
||||||
|
|
||||||
var ID = "9d45054a3b471ace785f5884621114e3"
|
var ID = "9f282d751e499876df730d492e36d335"
|
||||||
|
|
||||||
// Project 管理端项目
|
// Project 管理端项目
|
||||||
var Project = Proj{
|
var Project = Proj{
|
||||||
|
@ -56,7 +56,7 @@ var ctg_order_dateCtr = Ctr{
|
|||||||
dayAM := that.Db.Get("ctg_order_date", "*", Map{"AND": Map{"category_id": category.GetCeilInt("id"),
|
dayAM := that.Db.Get("ctg_order_date", "*", Map{"AND": Map{"category_id": category.GetCeilInt("id"),
|
||||||
"date": todayAMTime.Unix() + int64(24*60*60*(i+1))}})
|
"date": todayAMTime.Unix() + int64(24*60*60*(i+1))}})
|
||||||
if dayAM == nil {
|
if dayAM == nil {
|
||||||
dayAM = Map{"name": "9:00-12:00",
|
dayAM = Map{"name": "9:00-11:30",
|
||||||
"date": todayAMTime.Unix() + int64(24*60*60*(i+1)),
|
"date": todayAMTime.Unix() + int64(24*60*60*(i+1)),
|
||||||
"create_time": time.Now().Unix(),
|
"create_time": time.Now().Unix(),
|
||||||
"modify_time": time.Now().Unix(),
|
"modify_time": time.Now().Unix(),
|
||||||
@ -76,7 +76,7 @@ var ctg_order_dateCtr = Ctr{
|
|||||||
//fmt.Println(that.Db.LastQuery, that.Db.LastData, dayPM, that.Db.LastErr)
|
//fmt.Println(that.Db.LastQuery, that.Db.LastData, dayPM, that.Db.LastErr)
|
||||||
if dayPM == nil {
|
if dayPM == nil {
|
||||||
//fmt.Println("dasdasdasda")
|
//fmt.Println("dasdasdasda")
|
||||||
dayPM = Map{"name": "14:00-16:00",
|
dayPM = Map{"name": "13:30-16:30",
|
||||||
"date": todayPMTime.Unix() + int64(24*60*60*(i+1)),
|
"date": todayPMTime.Unix() + int64(24*60*60*(i+1)),
|
||||||
"create_time": time.Now().Unix(),
|
"create_time": time.Now().Unix(),
|
||||||
"modify_time": time.Now().Unix(),
|
"modify_time": time.Now().Unix(),
|
||||||
|
BIN
example/bzyy.exe
BIN
example/bzyy.exe
Binary file not shown.
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"id": "9d45054a3b471ace785f5884621114e3",
|
"id": "9f282d751e499876df730d492e36d335",
|
||||||
"label": "HoTime管理平台",
|
"label": "HoTime管理平台",
|
||||||
"menus": [
|
"menus": [
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user