This commit is contained in:
jiangyong27 2023-04-09 13:10:26 +08:00
parent 2c81091b94
commit c5f457f443
2 changed files with 2 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{
"enable": true,
"bidProfit": 50,
"bidProfit": -50,
"couponCost": 3000,
"discount": 1,
"token": "321566:7b84a0b1-832a-4492-a96a-23002d6c8715"

View File

@ -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)))
}
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())