|
|
@ -492,7 +492,6 @@ class ShixunsController < ApplicationController
|
|
|
|
@attachment.digest = digest
|
|
|
|
@attachment.digest = digest
|
|
|
|
@attachment.author_id = current_user.id
|
|
|
|
@attachment.author_id = current_user.id
|
|
|
|
@attachment.disk_directory = tpm_folder
|
|
|
|
@attachment.disk_directory = tpm_folder
|
|
|
|
@attachment.cloud_url = remote_path
|
|
|
|
|
|
|
|
@attachment.container_id = @shixun.id
|
|
|
|
@attachment.container_id = @shixun.id
|
|
|
|
@attachment.container_type = @shixun.class.name
|
|
|
|
@attachment.container_type = @shixun.class.name
|
|
|
|
@attachment.attachtype = 2
|
|
|
|
@attachment.attachtype = 2
|
|
|
|