#!/usr/bin/python
|
# -*- coding: GBK -*-
|
#-------------------------------------------------------------------------------
|
#
|
#-------------------------------------------------------------------------------
|
#
|
##@package GM.Commands.GMT_GetCoinReq
|
#
|
# @todo:ÇëÇóµãȯ
|
# @author hxp
|
# @date 2015-5-27
|
# @version 1.0
|
#
|
# ÏêϸÃèÊö: ÇëÇóµãȯ
|
#
|
#---------------------------------------------------------------------
|
"""Version = 2015-5-27 17:30"""
|
#---------------------------------------------------------------------
|
|
#µ¼Èë
|
import GMCommon
|
import ChConfig
|
|
#Â߼ʵÏÖ(ÕâÀïcurPlayer = None)
|
## Ö´ÐÐÂß¼
|
# @param curPlayer µ±Ç°Íæ¼Ò None
|
# @param gmList [cmdIndex,gmAccID,forbidAccIP]
|
# @return None
|
# @remarks º¯ÊýÏêϸ˵Ã÷.
|
def OnExec(orderId, gmCmdDict):
|
playerFind = gmCmdDict.get(GMCommon.Def_GMKey_PlayerFind, '')
|
queryType = gmCmdDict.get(GMCommon.Def_GMKey_QueryType, '')
|
|
if queryType == 'accID':
|
#Íæ¼ÒÕË»§ []
|
GMCommon.GMTool_MapServer_Query(ChConfig.queryType_sqtPlayerByAccID, orderId,
|
playerFind, gmCmdDict, 'GetCoinReq', [orderId], False)
|
return
|
|
#Íæ¼ÒÃû×Ö []
|
GMCommon.GMTool_MapServer_Query(ChConfig.queryType_sqtPlayerByName, orderId,
|
playerFind, gmCmdDict, 'GetCoinReq', [orderId], False)
|
return
|
|
|