修改commits的错误提示

This commit is contained in:
sylor_huang@126.com
2020-04-22 15:14:52 +08:00
parent f9f5b9fdb7
commit 2738efb04d
3 changed files with 5 additions and 9 deletions

View File

@@ -1,5 +1,4 @@
Rails.logger.info("#######_______@hash_commit______############{@hash_commit}")
if @hash_commit[:status].present? #如果有状态值,则表示报错了
if @hash_commit.blank? #如果有状态值,则表示报错了
json.total_count 0
json.commits []
else