mirror of http://gitlab.batiao8.com/yic/film.git
bidprice
This commit is contained in:
parent
2c81091b94
commit
c5f457f443
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"enable": true,
|
||||
"bidProfit": 50,
|
||||
"bidProfit": -50,
|
||||
"couponCost": 3000,
|
||||
"discount": 1,
|
||||
"token": "321566:7b84a0b1-832a-4492-a96a-23002d6c8715"
|
||||
|
|
|
@ -98,9 +98,7 @@ func (w *Worker) processorDadi(order *model.Order) {
|
|||
message = append(message, "\n")
|
||||
message = append(message, "【竞价信息】")
|
||||
message = append(message, fmt.Sprintf("状态:%s", goutil.If(bidStatus, "竞价中", "不可竞价")))
|
||||
if bidStatus {
|
||||
message = append(message, fmt.Sprintf("出价:%s", util.MoneyFen(bidPrice)))
|
||||
}
|
||||
|
||||
if err := w.qyClient.SendText([]string{"jiangyong"}, strings.Join(message, "\n")); err != nil {
|
||||
log.Errorf("send message error : %s", err.Error())
|
||||
|
|
Loading…
Reference in New Issue