add debug
This commit is contained in:
parent
e4fffdd18f
commit
91adaa1aa6
|
@ -159,18 +159,21 @@ module Mobile
|
|||
# add by qiubing end
|
||||
end
|
||||
# {status:0, result:result}
|
||||
Rails.logger.info("status: ", 0)
|
||||
Rails.logger.info("result: ", result)
|
||||
Rails.logger.info("modificationLines: ", modificationLines)
|
||||
Rails.logger.info("eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeerror!!!")
|
||||
Rails.logger.info(0)
|
||||
Rails.logger.info(result)
|
||||
Rails.logger.info(modificationLines)
|
||||
{status:0, result:result, modificationLines:modificationLines}
|
||||
else
|
||||
Rails.logger.info("status: ", 1)
|
||||
Rails.logger.info("message: ", 'the project did\'t exist or has been deleted')
|
||||
Rails.logger.info("eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeerror!!!")
|
||||
Rails.logger.info(1)
|
||||
Rails.logger.info('the project did\'t exist or has been deleted')
|
||||
{status:1, message: 'the project did\'t exist or has been deleted' }
|
||||
end
|
||||
else
|
||||
Rails.logger.info("status: ", 1)
|
||||
Rails.logger.info("message: ", 'the project did\'t exist or has been deleted')
|
||||
Rails.logger.info("eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeerror!!!")
|
||||
Rails.logger.info(1)
|
||||
Rails.logger.info('the project did\'t exist or has been deleted')
|
||||
{status:1, message: 'the project did\'t exist or has been deleted' }
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue