|
@@ -10,7 +10,6 @@ import (
|
|
"strings"
|
|
"strings"
|
|
"time"
|
|
"time"
|
|
|
|
|
|
- . "app.yhyue.com/moapp/jybase/api"
|
|
|
|
qutil "app.yhyue.com/moapp/jybase/common"
|
|
qutil "app.yhyue.com/moapp/jybase/common"
|
|
"app.yhyue.com/moapp/jybase/dchest/captcha"
|
|
"app.yhyue.com/moapp/jybase/dchest/captcha"
|
|
"app.yhyue.com/moapp/jybase/go-xweb/xweb"
|
|
"app.yhyue.com/moapp/jybase/go-xweb/xweb"
|
|
@@ -148,10 +147,10 @@ func (e *EquityCode) Submit() {
|
|
if items != nil && len(*items) > 0 {
|
|
if items != nil && len(*items) > 0 {
|
|
disChannel = qutil.ObjToString((*items)[0]["item_code"])
|
|
disChannel = qutil.ObjToString((*items)[0]["item_code"])
|
|
}
|
|
}
|
|
- groupId := qutil.ObjToString((*items)[0]["groupId"])
|
|
|
|
- frequencyLimit := qutil.IntAll((*items)[0]["frequencyLimit"])
|
|
|
|
- equityId := qutil.IntAll((*items)[0]["equityId"])
|
|
|
|
- groupType := qutil.IntAll((*items)[0]["groupType"])
|
|
|
|
|
|
+ groupId := qutil.ObjToString((*datas)[0]["groupId"])
|
|
|
|
+ frequencyLimit := qutil.IntAll((*datas)[0]["frequencyLimit"])
|
|
|
|
+ equityId := qutil.IntAll((*datas)[0]["equityId"])
|
|
|
|
+ groupType := qutil.IntAll((*datas)[0]["groupType"])
|
|
nec := entity.GetNewEquityCode(equityCode, "", phone, "", "", e.Request, e.Session())
|
|
nec := entity.GetNewEquityCode(equityCode, "", phone, "", "", e.Request, e.Session())
|
|
err := nec.InitUserInfo()
|
|
err := nec.InitUserInfo()
|
|
if err != nil {
|
|
if err != nil {
|
|
@@ -192,7 +191,7 @@ func (e *EquityCode) Submit() {
|
|
if isMemberProduct {
|
|
if isMemberProduct {
|
|
// todo 返回配置
|
|
// todo 返回配置
|
|
result["list"] = config.Config.ExchangeInfo.Member
|
|
result["list"] = config.Config.ExchangeInfo.Member
|
|
- }else {
|
|
|
|
|
|
+ } else {
|
|
result["list"] = config.Config.ExchangeInfo.Other
|
|
result["list"] = config.Config.ExchangeInfo.Other
|
|
}
|
|
}
|
|
}
|
|
}
|