浏览代码

增加越南渠道充值项相关修改

gitxsm 4 周之前
父节点
当前提交
f82d6377f6
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      script/module/topup/BuyLogic.lua

+ 5 - 1
script/module/topup/BuyLogic.lua

@@ -128,8 +128,11 @@ local function getRealName(human, buyID, region)
 	region = human.region or "CN"
 	local buyConf = BuyExcel[buyID]
 	if not buyConf then return "" end
+
 	if region == "US" then
 		return buyConf.nameEn
+	elseif region == "VN" then
+		return buyConf.nameEn
 	else
 		return buyConf.name
 	end
@@ -149,9 +152,10 @@ local function getRealProductId(human, buyID, region)
 		end
 	end
 
-
 	if region == "US" then
 		return buyConf.productidEn
+	elseif region == "VN" then
+		return buyConf.productidEn
 	else
 		return buyConf.productid
 	end