Compare commits
3 Commits
cross-mout
...
main
Author | SHA1 | Date |
---|---|---|
Administrator | 409b5d193b | |
Administrator | c1e13f3f00 | |
root | 345a907a42 |
|
@ -1,6 +1,7 @@
|
|||
FROM alpine:latest
|
||||
ENV TZ=Asia/Shanghai
|
||||
USER root
|
||||
RUN apk --no-cache add tzdata
|
||||
|
||||
# 合并复制指令
|
||||
COPY udeskstate /usr/local/bin/
|
||||
|
|
|
@ -9,10 +9,6 @@ import (
|
|||
"time"
|
||||
)
|
||||
|
||||
var nowMouth = time.Now().Month().String()
|
||||
var nowDay = time.Now().Day()
|
||||
var M = dateToChinese(nowMouth)
|
||||
|
||||
func JsonDeal(file string, remindList []string, closeList []string) (r, c []string) {
|
||||
emailJson, err := os.ReadFile(file)
|
||||
if err != nil {
|
||||
|
@ -54,6 +50,9 @@ func GetSheetName(file string) (remindList, closeList []string, err error) {
|
|||
//遍历所有工作表的A2格
|
||||
sheets := f.GetSheetMap()
|
||||
var sheetName string
|
||||
var nowMouth = time.Now().Month().String()
|
||||
var nowDay = time.Now().Day()
|
||||
var M = dateToChinese(nowMouth)
|
||||
for _, s := range sheets {
|
||||
//// 读取A2单元格的值
|
||||
a2value, err := f.GetCellValue(s, "A2")
|
||||
|
|
Loading…
Reference in New Issue