添加git用户日志

dev_forum
jingquan huang 5 years ago
parent e071aeb556
commit ae10466320

@ -269,7 +269,8 @@ class MyshixunsController < ApplicationController
author_name = current_user.full_name author_name = current_user.full_name
author_email = current_user.mail author_email = current_user.mail
message = params[:evaluate] == 0 ? "System automatically submitted" : "User submitted" message = params[:evaluate] == 0 ? "System automatically submitted" : "User submitted"
uid_logger("") uid_logger("112233#{author_name}")
uid_logger("112233#{author_email}")
@content = GitService.update_file(repo_path: @repo_path, @content = GitService.update_file(repo_path: @repo_path,
file_path: path, file_path: path,
message: message, message: message,

Loading…
Cancel
Save