📅  最后修改于: 2022-03-11 14:56:29.349000             🧑  作者: Mango
shop = Shop.find_by(shopify_domain: params[:shop])
shop = ShopifyApp::SessionRepository.retrieve(shop.id)
ShopifyAPI::Base.activate_session(shop)