|
|
@@ -188,7 +188,7 @@ function fontBuyItem(human, net, buyID)
|
|
|
net.voucher = conf.Voucher
|
|
|
-- net.productId = conf.productid
|
|
|
net.productId = getRealProductId(human, buyID, region)
|
|
|
- if conf.module then
|
|
|
+ if conf.module and conf.module ~= "" then
|
|
|
local tModule = load("return require(\"" .. conf.module .. "\")")()
|
|
|
if tModule and tModule.GetRemainNum then
|
|
|
net.nCanBuyNum = tModule.GetRemainNum(human, buyID)
|