DengBiao pirms 8 mēnešiem
vecāks
revīzija
5670194e14
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      app/customer/svc/svc_enterprise.go

+ 1
- 1
app/customer/svc/svc_enterprise.go Parādīt failu

@@ -14,7 +14,7 @@ func EnterpriseList(req md.EnterpriseListReq, platform string) (m []model.Enterp
}
if platform == "alipay_applet" {
//TODO::暂只开放金茂小学支付宝购买权限
eg.And("pvd != ? ", enum.EnterprisePvdForOnlinePayment).Or("pvd = ? and mode !=?", enum.EnterprisePvdForOnlinePayment, enum.EnterpriseModeForSchool).Or("enterprise_id = 7")
eg.And("pvd != ? ", enum.EnterprisePvdForOnlinePayment).Or("pvd = ? and mode !=?", enum.EnterprisePvdForOnlinePayment, enum.EnterpriseModeForSchool).Or("id = 7")
}
if req.Name != "" {
eg.And("name like ?", "%"+req.Name+"%")


Notiek ielāde…
Atcelt
Saglabāt