Commit 5550b064 authored by chenweijian's avatar chenweijian

cp翻译

parent 51a91b2b
......@@ -209,3 +209,33 @@ VALUES (258, 'zh', "已经过期"),
(258, 'hi', "पहले ही समाप्त हो चुका है"),
(258, 'vi', "Đã hết hạn"),
(258, 'ur', "پہلے ہی ختم ہو چکا ہے۔");
INSERT INTO hilo.res_multi_text (msg_id, `language`, content)
VALUES (272, 'zh', "绑定CP花费"),
(272, 'en', "Binding CP cost"),
(272, 'ar', "تكلفة CP الارتباط"),
(272, 'tr', "Bağlayıcı CP maliyeti"),
(272, 'id', "Mengikat biaya CP"),
(272, 'ru', "Привязка стоимости CP"),
(272, 'ko', "구속력 있는 CP 비용"),
(272, 'pt', "Custo de CP vinculativo"),
(272, 'th', "ค่าซีพีเข้าเล่ม"),
(272, 'ca', "Costo de CP vinculante"),
(272, 'hi', "बाध्यकारी सीपी लागत"),
(272, 'vi', "Chi phí CP ràng buộc"),
(272, 'ur', "بائنڈنگ CP لاگت");
INSERT INTO hilo.res_multi_text (msg_id, `language`, content)
VALUES (273, 'zh', "绑定CP返还"),
(273, 'en', "Binding CP return"),
(273, 'ar', "استرداد CP الارتباط"),
(273, 'tr', "Bağlayıcı CP dönüşü"),
(273, 'id', "Pengembalian CP yang mengikat"),
(273, 'ru', "Обязательный возврат CP"),
(273, 'ko', "바인딩 CP 반환"),
(273, 'pt', "Retorno de CP vinculativo"),
(273, 'th', "การคืนค่า CP ที่มีผลผูกพัน"),
(273, 'ca', "Retorno de CP vinculante"),
(273, 'hi', "बाध्यकारी सीपी वापसी"),
(273, 'vi', "Lợi nhuận CP ràng buộc"),
(273, 'ur', "بائنڈنگ CP واپسی۔");
\ No newline at end of file
......@@ -5,12 +5,14 @@ import (
"fmt"
"git.hilo.cn/hilo-common/_const/common"
"git.hilo.cn/hilo-common/_const/enum/diamond_e"
"git.hilo.cn/hilo-common/_const/enum/msg_e"
"git.hilo.cn/hilo-common/domain"
"git.hilo.cn/hilo-common/mycontext"
"git.hilo.cn/hilo-common/myerr/comerr"
"git.hilo.cn/hilo-common/resource/mysql"
"git.hilo.cn/hilo-common/sdk/tencentyun"
"git.hilo.cn/hilo-common/txop/bag_tx"
"git.hilo.cn/hilo-common/txop/diamond_tx"
"git.hilo.cn/hilo-common/txop/msg"
"git.hilo.cn/hilo-common/utils"
"github.com/gin-gonic/gin"
......@@ -19,7 +21,6 @@ import (
"hilo-user/cv/user_cv"
"hilo-user/domain/cache/user_c"
"hilo-user/domain/model/cp_m"
"hilo-user/domain/model/diamond_m"
"hilo-user/domain/model/user_m"
"hilo-user/domain/service/cp_s"
"hilo-user/myerr"
......@@ -243,7 +244,8 @@ func ReplyCpInvite(c *gin.Context) (*mycontext.MyContext, error) {
})
} else { // 拒绝
// 退费
err = diamond_m.ChangeDiamondAccountDetail(model, diamond_e.CpInviteRefund, cpRecord.Id, cpRecord.UserId, cpRecord.DiamondNum)
err = diamond_tx.SendDiamond(model, cpRecord.UserId, diamond_e.CpInviteRefund, cpRecord.Id, cpRecord.DiamondNum,
msg_e.MgrSendDiamondProperty)
if err != nil {
model.Log.Errorf("ReplyCpInvite UserId:%d, err:%v", cpRecord.UserId, err)
return err
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment