|
|
@@ -106,10 +106,8 @@ func fbShare(eg *xorm.Engine, dbName string, payMethod int, total float64, payOi |
|
|
|
key := yibao_pay.CommKey(db.Db, true) |
|
|
|
zhiyingOnlineBili := utils.StrToFloat64(key["zhiyingOnlineBili"]) - 0.63 |
|
|
|
zhiyingUnlineBili := utils.StrToFloat64(key["zhiyingUnlineBili"]) - 0.63 |
|
|
|
allBili := utils.StrToFloat64(key["zhiyingUnlineBili"]) / 100 |
|
|
|
bili := zhiyingUnlineBili / 100 |
|
|
|
if payMethod == 19 { |
|
|
|
allBili = utils.StrToFloat64(key["zhiyingOnlineBili"]) / 100 |
|
|
|
bili = zhiyingOnlineBili / 100 |
|
|
|
} |
|
|
|
fee := total * bili |
|
|
|