在 Rails 应用中以微服务形式集成 Work Design 的业务组件
How to use my plugin.
gem 'work_design', require: 'work_design'controller
class ApplicationController < ActionController::API
include WorkDesign::Proxy
include WorkDesign::Identify
endRoutes
Rails.application.routes.append do
match 'wechat/*path' => 'home#wechat', via: :all, defaults: { business: 'wechat' }
end遵循 MIT 协议