开源项目 请问下是否有开源的外卖小程序平台比较好用,类美团的多商户系统

yangxing_star · December 06, 2025 · Last by stephen replied at December 08, 2025 · 113 hits

想自己做一个外卖平台小项目,基于开源项目改造,语言不限 做好是有管理后台的,类美团的多商户系统🙏 🙏

gem "devise"
gem "rolify"
gem "pundit"

每个商户一个 tenant_id, 然后就是 CRUD, 这不分分钟就搭好了吗?

class Tenant < ApplicationRecord
  has_many :users
  has_many :shops # 加钱后, 每个商户还能开多个商店
class User < ApplicationRecord
  belongs_to :tenant, optional: true
  has_and_belongs_to_many :shops 
class Role < ApplicationRecord
  validates :name, presence: true, uniqueness: true

  has_and_belongs_to_many :users, :join_table => :users_roles

可以联系,有正在线上运营的项目,156 贰贰陆陆 5682

You need to Sign in before reply, if you don't have an account, please Sign up first.