Merge branch 'feature-multicast-daiyb' into dev
This commit is contained in:
commit
87db2d6ce3
@ -324,24 +324,33 @@ func Remind(ctx *gin.Context) {
|
||||
if workInfo.ArtistPhoneAreaCode == "" {
|
||||
workInfo.ArtistPhoneAreaCode = "86"
|
||||
}
|
||||
artistID, _ := strconv.ParseUint(workInfo.ArtistUuid, 10, 64)
|
||||
infoResp, err := service.AccountFieeProvider.Info(context.Background(), &accountFiee.InfoRequest{
|
||||
ID: artistID,
|
||||
Domain: "app",
|
||||
})
|
||||
if err != nil {
|
||||
service.Error(ctx, err)
|
||||
return
|
||||
}
|
||||
if workInfo.ArtistPhoneAreaCode == "86" {
|
||||
_, err = service.AccountFieeProvider.SendMsg(context.Background(), &accountFiee.SendMsgRequest{
|
||||
_, err = service.AccountFieeProvider.OnlySendMsg(context.Background(), &accountFiee.SendMsgRequest{
|
||||
Domain: "app",
|
||||
TelNum: workInfo.ArtistPhone,
|
||||
TelNum: infoResp.TelNum,
|
||||
Project: "fiee",
|
||||
SignNo: 0, // TODO 模板ID
|
||||
MId: 0,
|
||||
SignNo: 0,
|
||||
MId: 277385,
|
||||
Scope: "",
|
||||
Zone: workInfo.ArtistPhoneAreaCode,
|
||||
Zone: infoResp.TelAreaCode,
|
||||
NonceStr: "",
|
||||
})
|
||||
} else {
|
||||
_, err = service.AccountFieeProvider.SendNationMsg(context.Background(), &accountFiee.SendNationMsgRequest{
|
||||
_, err = service.AccountFieeProvider.SendNationTemplateMsg(context.Background(), &accountFiee.SendNationMsgRequest{
|
||||
Domain: "app",
|
||||
TelNum: workInfo.ArtistPhone,
|
||||
TelNum: fmt.Sprintf("%s%s", infoResp.TelAreaCode, infoResp.TelNum),
|
||||
Project: "fiee",
|
||||
SignNo: 0, // TODO 模板ID
|
||||
MId: 0,
|
||||
SignNo: 0,
|
||||
MId: 108375,
|
||||
Scope: "",
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user