|
@@ -3,7 +3,6 @@ package wx_mp
|
|
|
import (
|
|
import (
|
|
|
"encoding/json"
|
|
"encoding/json"
|
|
|
"fmt"
|
|
"fmt"
|
|
|
- "time"
|
|
|
|
|
|
|
|
|
|
"github.com/astaxie/beego"
|
|
"github.com/astaxie/beego"
|
|
|
|
|
|
|
@@ -149,16 +148,7 @@ type TakeCashArrivedSubscribeData struct {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func SendTakeCashStatusSubscribe(openid string, withdrawAmount int64, remark string) error {
|
|
func SendTakeCashStatusSubscribe(openid string, withdrawAmount int64, remark string) error {
|
|
|
- if openid == "" {
|
|
|
|
|
- return nil
|
|
|
|
|
- }
|
|
|
|
|
- page := "packageUser/pages/user/withdraw/withdraw"
|
|
|
|
|
- data := map[string]SubscribeDataValue{
|
|
|
|
|
- "date1": {Value: time.Now().Format("2006-01-02 15:04")},
|
|
|
|
|
- "amount3": {Value: formatFen(withdrawAmount)},
|
|
|
|
|
- "thing5": {Value: remark},
|
|
|
|
|
- }
|
|
|
|
|
- return SendXcxSubscribeMessage(openid, TakeCashSubscribeTemplateId, page, data)
|
|
|
|
|
|
|
+ return nil
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func SendTakeCashArrivedSubscribe(openid string, orderId, withdrawAmount, fee, arriveAmount int64, state, packageInfo string) error {
|
|
func SendTakeCashArrivedSubscribe(openid string, orderId, withdrawAmount, fee, arriveAmount int64, state, packageInfo string) error {
|