|
@@ -8,7 +8,6 @@ import (
|
|
|
"pay"
|
|
|
qutil "qfw/util"
|
|
|
"qfw/util/redis"
|
|
|
- "strconv"
|
|
|
"strings"
|
|
|
"time"
|
|
|
"util"
|
|
@@ -73,7 +72,7 @@ func DisWordRecode(order_id, sale_money int, product_name, disWord string) {
|
|
|
func OtherDisWordRecode(order_id, sale_money int, product_name, disWord, userId, creatTime string) {
|
|
|
//redis 获取分销者信息
|
|
|
//查询用户是企业还是个人账户
|
|
|
- parentList := util.Mysql.SelectBySql("select * from dis_partner where uid=? ", userId)
|
|
|
+ /*parentList := util.Mysql.SelectBySql("select * from dis_partner where uid=? ", userId)
|
|
|
parentType := 1
|
|
|
if len(*parentList) > 0 {
|
|
|
parentTypeInt, _ := strconv.Atoi(fmt.Sprint((*parentList)[0]["type"]))
|
|
@@ -81,7 +80,7 @@ func OtherDisWordRecode(order_id, sale_money int, product_name, disWord, userId,
|
|
|
}
|
|
|
if (parentType == 2) {
|
|
|
return
|
|
|
- }
|
|
|
+ }*/
|
|
|
infoList := util.Mysql.SelectBySql("select * from dis_word where userId=? and password =? ", userId, disWord)
|
|
|
if len(*infoList) != 0 {
|
|
|
//分销者id
|