目录结构调整
This commit is contained in:
30
codes/games/sales_service/youle/web_sales/class.import.js
Normal file
30
codes/games/sales_service/youle/web_sales/class.import.js
Normal file
@@ -0,0 +1,30 @@
|
||||
///////////////////////////////////////////////////
|
||||
/////// cls_youle_sales_import: 输入接口 ///////
|
||||
///////////////////////////////////////////////////
|
||||
var cls_youle_sales_import = cls_youle_sales_import || {
|
||||
|
||||
new: function() {
|
||||
|
||||
var imp = {};
|
||||
|
||||
//玩家购买房卡
|
||||
imp.player_buy_roomcard = function(agentid, playerid, roomcard, amount){
|
||||
youle_agent.export.buy_topup(agentid, playerid, 1, roomcard, amount);
|
||||
}
|
||||
|
||||
//玩家充卡
|
||||
imp.player_topup_roomcard = function(agentid, playerid, roomcard, amount){
|
||||
youle_agent.export.buy_topup(agentid, playerid, 2, roomcard, amount);
|
||||
}
|
||||
|
||||
//玩家充星星
|
||||
imp.player_topup_bean = function(agentid, playerid, bean, amount){
|
||||
youle_agent.export.buy_topup_bean(agentid, playerid, 2, bean, amount);
|
||||
}
|
||||
|
||||
return imp;
|
||||
}
|
||||
}
|
||||
|
||||
//数据异常处理
|
||||
youle_sales.import = cls_youle_sales_import.new();
|
||||
Reference in New Issue
Block a user