- auth for weixin.

This commit is contained in:
gazebo
2018-09-04 21:23:51 +08:00
parent 1dda77ee3a
commit deca8efb96
15 changed files with 399 additions and 571 deletions

13
business/jxutils/cache/cache.go vendored Normal file
View File

@@ -0,0 +1,13 @@
package cache
import (
"time"
)
type ICacher interface {
FlushAll() error
Set(key string, value interface{}, expiration time.Duration) error
Del(key string) error
Get(key string) interface{}
GetAs(key string, ptr interface{}) error
}