예제 #1
0
    def __init__(self, status, msg, json_result=None):
        ResultInfo.__init__(self, status, msg, json_result=None)

        if status == Constants.RETURN_SUCCESS:
            self.logs = json_result["result"]["items"]
예제 #2
0
    def __init__(self, status, msg, json_result=None):
        ResultInfo.__init__(self, status, msg, json_result)

        if self.status == Constants.RETURN_SUCCESS:
            self.__init_suggest()