#!/usr/bin/python
|
# -*- coding: GBK -*-
|
#-------------------------------------------------------------------------------
|
#
|
##@package GM.Commands.GMT_TaskMarket
|
#
|
# @todo:ÌÚѶÈÎÎñ¼¯ÊÐ
|
# @author hxp
|
# @date 2016-09-18
|
# @version 1.0
|
#
|
# ÏêϸÃèÊö: ÌÚѶÈÎÎñ¼¯ÊÐ
|
#
|
#-------------------------------------------------------------------------------
|
#"""Version = 2016-09-18 18:00"""
|
#-------------------------------------------------------------------------------
|
|
import GMCommon
|
import ChConfig
|
|
|
## Ö´ÐÐÂß¼
|
# @param curPlayer µ±Ç°Íæ¼Ò
|
# @param gmCmdDict: ÃüÁî×Öµä
|
# @return None
|
# @remarks º¯ÊýÏêϸ˵Ã÷.
|
def OnExec(orderId, gmCmdDict):
|
queryType = gmCmdDict.get(GMCommon.Def_GMKey_QueryType, "")
|
playerFind = gmCmdDict.get(GMCommon.Def_GMKey_PlayerFind, "")
|
|
if queryType == GMCommon.Def_GMKey_PlayerAccID:
|
queryType = ChConfig.queryType_sqtPlayerByAccID
|
elif queryType == GMCommon.Def_GMKey_PlayerName:
|
queryType = ChConfig.queryType_sqtPlayerByName
|
else:
|
GMCommon.GMCommandResult(orderId, gmCmdDict, GMCommon.Def_ParamErr)
|
return
|
|
GMCommon.GMTool_MapServer_Query(queryType, orderId, playerFind, gmCmdDict, "GMTTaskMarket", [orderId, gmCmdDict], False)
|
return
|
|