撤销发布

dev_course
daiao 5 years ago
parent 394efe9bf5
commit 1679cfc6b5

@ -742,8 +742,8 @@ class ShixunsController < ApplicationController
if apply && apply.status == 0
apply.update_attribute(:status, 3)
apply.tidings.destroy_all
@shixun.update_column('status', 0)
end
@shixun.update_column('status', 0)
end
private

Loading…
Cancel
Save