|
@@ -3,7 +3,6 @@ package front
|
|
|
import (
|
|
|
"fmt"
|
|
|
"github.com/go-xweb/xweb"
|
|
|
- "log"
|
|
|
"qfw/coreutil"
|
|
|
"qfw/util/redis"
|
|
|
"strconv"
|
|
@@ -19,11 +18,9 @@ type Weixinshare struct {
|
|
|
func (e *Weixinshare) Weixinshare(pid string) error {
|
|
|
var pngdata = []byte{}
|
|
|
pid = se.DecodeString(pid)
|
|
|
- log.Println("weixinshare:::::", pid)
|
|
|
if ret, _ := redis.GetBytes("sso", fmt.Sprintf("p_share_%s", pid)); ret != nil {
|
|
|
pngdata = *ret
|
|
|
} else {
|
|
|
- log.Println("weixinshare222222:::::", pid)
|
|
|
//id := coreutil.GetShareId(coreutil.TYPE_INVITE)
|
|
|
id, _ := strconv.Atoi(pid)
|
|
|
coreutil.GetShareQR(uint32(id))
|