Commit f9b72d4f4ed21839f62497058cce181c9d0277ba
1 parent
7a3a7fff
支付协议号
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
src/actions/StoreAction.lua
@@ -76,7 +76,7 @@ function _M.biliAndroidRechargeRpc(agent, data) | @@ -76,7 +76,7 @@ function _M.biliAndroidRechargeRpc(agent, data) | ||
76 | end | 76 | end |
77 | 77 | ||
78 | -- 享游sdk充值 | 78 | -- 享游sdk充值 |
79 | -function _M.cpsRechargeRpc(agent, data) | 79 | +function _M.biliCpsRechargeRpc(agent, data) |
80 | local role = agent.role | 80 | local role = agent.role |
81 | local msg = MsgPack.unpack(data) | 81 | local msg = MsgPack.unpack(data) |
82 | local id = msg.id | 82 | local id = msg.id |
@@ -97,12 +97,12 @@ function _M.cpsRechargeRpc(agent, data) | @@ -97,12 +97,12 @@ function _M.cpsRechargeRpc(agent, data) | ||
97 | } | 97 | } |
98 | local sign = signPms(need, secret_key) | 98 | local sign = signPms(need, secret_key) |
99 | 99 | ||
100 | - SendPacket(actionCodes.Store_cpsRechargeRpc, MsgPack.pack({ order = partnerOrderId, sign = sign})) | 100 | + SendPacket(actionCodes.Store_biliCpsRechargeRpc, MsgPack.pack({ order = partnerOrderId, sign = sign})) |
101 | return true | 101 | return true |
102 | end | 102 | end |
103 | 103 | ||
104 | -- 享游sdk充值 | 104 | -- 享游sdk充值 |
105 | -function _M.uoRechargeRpc(agent, data) | 105 | +function _M.biliUoRechargeRpc(agent, data) |
106 | local role = agent.role | 106 | local role = agent.role |
107 | local msg = MsgPack.unpack(data) | 107 | local msg = MsgPack.unpack(data) |
108 | local id = msg.id | 108 | local id = msg.id |
@@ -123,7 +123,7 @@ function _M.uoRechargeRpc(agent, data) | @@ -123,7 +123,7 @@ function _M.uoRechargeRpc(agent, data) | ||
123 | } | 123 | } |
124 | local sign = signPms(need, secret_key) | 124 | local sign = signPms(need, secret_key) |
125 | 125 | ||
126 | - SendPacket(actionCodes.Store_uoRechargeRpc, MsgPack.pack({ order = partnerOrderId, sign = sign})) | 126 | + SendPacket(actionCodes.Store_biliUoRechargeRpc, MsgPack.pack({ order = partnerOrderId, sign = sign})) |
127 | return true | 127 | return true |
128 | end | 128 | end |
129 | 129 |