|
@@ -29,12 +29,14 @@ func DisWordRecode(order_id, sale_money int, product_name, disWord string) {
|
|
|
parentType = parentTypeInt
|
|
|
}
|
|
|
fmt.Println("用户类型"+fmt.Sprint(parentType))
|
|
|
- if (parentType == 2) {
|
|
|
- return
|
|
|
- }
|
|
|
+ //if (parentType == 2) {
|
|
|
+ // return
|
|
|
+ //}
|
|
|
+ fmt.Println("走人了")
|
|
|
//查询产品信息 获取 rate 佣金比例
|
|
|
var c_rate float64 = 0
|
|
|
if p_data, ok := util.MQFW.Find("dis_product", nil, `{"l_createdate":1}`, nil, false, -1, -1); ok && p_data != nil {
|
|
|
+
|
|
|
for _, v := range *p_data {
|
|
|
fmt.Println(v)
|
|
|
if product_name == qutil.ObjToString(v["s_name"]) {
|