|
@@ -276,7 +276,6 @@ func (w *WxDataExport) SetDontPromptAgain() {
|
|
func (w *WxDataExport) GetDontPromptAgain() {
|
|
func (w *WxDataExport) GetDontPromptAgain() {
|
|
isPrompt := true
|
|
isPrompt := true
|
|
userId := w.GetSession("mgoUserId").(string)
|
|
userId := w.GetSession("mgoUserId").(string)
|
|
- fmt.Println("userId", userId)
|
|
|
|
user, ok := public.MQFW.FindById("user", userId, `{"i_export_promptAgain":1}`)
|
|
user, ok := public.MQFW.FindById("user", userId, `{"i_export_promptAgain":1}`)
|
|
if ok && user != nil && len(*user) > 0 {
|
|
if ok && user != nil && len(*user) > 0 {
|
|
if util.IntAll((*user)["i_export_promptAgain"]) == 1 {
|
|
if util.IntAll((*user)["i_export_promptAgain"]) == 1 {
|