dev_forum
jingquan huang 5 years ago
parent f3db5a8ef3
commit 1802ac252b

@ -260,6 +260,8 @@ class MyshixunsController < ApplicationController
# 远程版本库文件内容
last_content = GitService.file_content(repo_path: @repo_path, path: path)["content"]
content = params[:content]
Rails.logger.info("###11222333####{content}")
Rails.logger.info("###222333####{last_content}")
if content != last_content
@content_modified = 1

Loading…
Cancel
Save