|
@@ -237,7 +237,7 @@ func (s *Subscribepay) ToChooseIndustry() {
|
|
|
func (s *Subscribepay) ToOrderDetailPage() {
|
|
|
userId := util.ObjToString(s.GetSession("userId"))
|
|
|
userIdentity := s.GetString("identity")
|
|
|
- if mgo.IsObjectIdHex(userId) && userIdentity != "" { //代用户下单app push跳转而来 切换身份为个人身份
|
|
|
+ if !mgo.IsObjectIdHex(userId) && userIdentity != "" { //代用户下单app push跳转而来 切换身份为个人身份
|
|
|
log.Println("企业身份访问代用户订单:", userId, userIdentity)
|
|
|
identityInfo := decode(userIdentity)
|
|
|
if identityInfo != nil {
|