Commit c77cdded by lanrion

addd weixin_uploader.rb

parent 4ee383b1
module WeixinAuthorize
class WeixinUploader < CarrierWave::Uploader::Base
include CarrierWave::RMagick
# 微信只支持jpg格式,目前还有bug.
process :convert => 'jpg'
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment