| 123456789101112131415161718192021222324252627 |
- // Package service
- /**
- * @ File:
- * @ Date: 2021/5/11 10:34
- * @ Author: JYQ
- * @ Description:
- */
- package service
- import (
- "sportfitness/base/assembly/base/repository/postgre"
- "sportfitness/base/errors"
- )
- type Wx struct {
- base
- }
- func (w Wx) WeiXinSignIn(token string, objectShopId int64, jsonStr string, sign string) string {
- optId := w.checkPermission(token, objectShopId)
- rst, err := postgre.PGWx{}.VipUserWeiXinLogin(optId, objectShopId, jsonStr, sign)
- if err != nil {
- panic(errors.PGError)
- }
- return rst
- }
|