def init(): print('init......') if db_service.init() == False: return -1 return 0
def init(): print('init......') ffext.set_protocol_type('json') if db_service.init() == False: return -1 return 0