ThinkPlugsWemall

Latest Stable VersionTotal DownloadsMonthly DownloadsDaily DownloadsPHP VersionLicense

注意: 该插件测试版有数据库结构变化,未生成升级补丁,每次更新需要全新安装!

多端微商城系统,此插件为会员尊享插件,未授权不可商用。

加入我们

我们的代码仓库已移至 Github,而 Gitee 则仅作为国内镜像仓库,方便广大开发者获取和使用。若想提交 PRISSUE 请在 ThinkAdminDeveloper 仓库进行操作,如果在其他仓库操作或提交问题将无法处理!。

配套前端

配套前端代码库,有需要的朋友请自行下载源码。

Gitee: https://gitee.com/zoujingli/ThinkAdminMobile

操作演示案例

开放接口

POSTMAN - 接口文档

依赖插件

标准安装

### 安装前建议尝试更新所有组件
composer update --optimize-autoloader

### 注意,插件仅支持在 ThinkAdmin v6.1 中使用
composer require zoujingli/think-plugs-wemall --optimize-autoloader

定制安装

  • 复制插件 ThinkPlugsWemall 所有源代码到 plugin/think-plugs-wemall 目录。
  • 修改插件 composer.json 文件追加 version 配置项,插件 ThinkPlugsWemall 的完整配置如下:
{
  "type": "think-admin-plugin",
  "name": "zoujingli/think-plugs-wemall",
  "version": "1.0.0",
  "homepage": "https://thinkadmin.top",
  "description": "WeMall Plugin for ThinkAdmin",
  "authors": [
    {
      "name": "Anyon",
      "email": "zoujingli@qq.com"
    }
  ],
  "require": {
    "php": ">7.1",
    "ext-json": "*",
    "zoujingli/think-plugs-account": "^1.0|@dev",
    "zoujingli/think-plugs-payment": "^1.0|@dev"
  },
  "autoload": {
    "files": [
      "./src/helper.php"
    ],
    "psr-4": {
      "plugin\\wemall\\": "src"
    }
  },
  "extra": {
    "think": {
      "services": [
        "plugin\\wemall\\Service"
      ]
    },
    "config": {
      "type": "module",
      "name": "分销商城管理",
      "document": "https://thinkadmin.top/plugin/think-plugs-wemall.html",
      "description": "分销商城管理模块,提供完整多端商城系统功能。",
      "license": [
        "VIP"
      ]
    },
    "plugin": {
      "copy": {
        "stc/database": "database/migrations"
      }
    }
  }
}
  • 修改项目根 composer.json 配置,增加 ThinkPlugsWemall 插件本地化路径配置,完整配置如下:
{
  "type": "project",
  "name": "zoujingli/thinkadmin",
  "version": "1.0.0",
  "license": "MIT",
  "homepage": "https://thinkadmin.top",
  "description": "Application Development Framework",
  "keywords": [
    "ThinkAdmin",
    "ThinkLibrary",
    "WeChatDeveloper"
  ],
  "authors": [
    {
      "name": "Anyon",
      "email": "zoujingli@qq.com"
    }
  ],
  "require": {
    "php": ">7.1",
    "ext-gd": "*",
    "ext-json": "*",
    "ext-openssl": "*",
    "zoujingli/think-plugs-wemall": "^1.0",
    "zoujingli/think-plugs-account": "^1.0",
    "zoujingli/think-plugs-payment": "^1.0"
  },
  "repositories": [
    {
      "type": "path",
      "url": "plugin/think-plugs-wemall"
    }
  ],
  "config": {
    "sort-packages": true,
    "allow-plugins": {
      "zoujingli/think-install": true
    }
  }
}
  • 在项目根目录终端执行 composer update 完成安装。

卸载插件

### 注意,插件卸载不会删除数据表,需要手动删除
composer remove zoujingli/think-plugs-wemall

版权说明

ThinkPlugsWemallThinkAdmin 会员插件。

未获得此插件授权时仅供参考学习不可商用,了解商用授权请阅读 《会员授权》

版权所有 Copyright © 2014-2024 by ThinkAdmin (https://thinkadmin.top) All rights reserved。

Last Updated:
Contributors: 邹景立