<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          DDIOT圍繞經(jīng)營(yíng)性場(chǎng)所進(jìn)行物聯(lián)網(wǎng)改造

          聯(lián)合創(chuàng)作 · 2023-09-26 12:20

          店滴云,讓經(jīng)營(yíng)場(chǎng)所,更智能。圍繞茶室、酒店、健身房、公寓、出租房等經(jīng)營(yíng)性場(chǎng)所進(jìn)行物聯(lián)網(wǎng)改造。同時(shí)支持多種物聯(lián)網(wǎng)通信協(xié)議,開放智能門鎖,智能開關(guān),智能手環(huán)的sdk供開發(fā)者使用??擅赓M(fèi)商用,授權(quán)版贈(zèng)送官網(wǎng),單商戶電商與多商戶電商系統(tǒng)。

          在這里插入圖片描述

          特性

          • 使用穩(wěn)定的 YII 框架,優(yōu)化處理開發(fā)過程,開發(fā)體驗(yàn)如 tp 一樣順滑。
          • 支持多層權(quán)限管控,路由權(quán)限,數(shù)據(jù)權(quán)限,菜單權(quán)限,集團(tuán)權(quán)限,商戶權(quán)限,擴(kuò)展功能權(quán)限隨意搭配調(diào)度
          • 基于 swoole 協(xié)程化,定時(shí)任務(wù)調(diào)度,im 聊天環(huán)境支持,系統(tǒng)接口支持協(xié)程,應(yīng)對(duì)高并發(fā)
          • 開源百度 ai 接口對(duì)接,完成人臉庫(kù)維護(hù),人臉庫(kù)創(chuàng)建,人臉庫(kù)在線識(shí)別,人臉會(huì)員建立
          • 多模塊可安裝,便于迅速擴(kuò)展業(yè)務(wù),支持橫向縱向雙向擴(kuò)展業(yè)務(wù)需求
          • 后臺(tái)支持多種開發(fā)模式,php 混合開發(fā),element-ui 的 vue 開發(fā)模式,純 html 的傳統(tǒng)開發(fā)都支持
          • 表單多樣,除 yii 自身的表單組件,系統(tǒng)還對(duì)表單做了豐富,支持一句話配置萬能表單
          • gii代碼自動(dòng)生成,包括擴(kuò)展模塊,數(shù)據(jù)庫(kù)模型,檢索模型,控制器和接口都可以自動(dòng)生成
          • element-ui+uniapp+店滴cms,中后臺(tái),多端兼容,數(shù)據(jù)處理全部支持且開源

          環(huán)境準(zhǔn)備:

          php>=7.3
          redis
          git 工具下載:https://git-scm.com/downloads
          composer https://www.phpcomposer.com/
          composer建議使用阿里鏡像 https://developer.aliyun.com/composer
          

          第一步:git 下載代碼  

          git clone https://toscode.gitee.com/wayfirer/ddicms.git

          第二步:更新 composer 擴(kuò)展  

          cd 你的文件路徑 composer update

          第三步:建立數(shù)據(jù)庫(kù)并完成配置

          cd common\config
          
          vim common\config\main-local.php
          
           
          <?php
          
          /**
           * @Author: Wang Chunsheng [email protected]
           * @Date:   2020-03-12 20:12:31
           * @Last Modified by:   Wang chunsheng  email:[email protected]
           * @Last Modified time: 2021-04-09 18:25:50
           */
          
          return [
              'components' => [
                  'db' => [
                      'class' => 'yii\db\Connection',
                      'dsn' => 'mysql:host=localhost;dbname=netos',
                      'username' => 'root',
                      'password' => 'root',
                      'charset' => 'utf8',
                      'attributes'  => [
                          PDO::ATTR_STRINGIFY_FETCHES => false,
                          PDO::ATTR_EMULATE_PREPARES  => false,
                      ],
                  ],
                  'mailer' => [
                      'class' => 'yii\swiftmailer\Mailer',
                      'viewPath' => '@common/mail',
                      // send all mails to a file by default. You have to set
                      // 'useFileTransport' to false and configure a transport
                      // for the mailer to send real emails.
                      'useFileTransport' => true,
                  ],
              ],
              'language' => 'zh-CN',
          
          ];
          
          
          make distclean
          
          phpize && \
          ./configure  --with-php-config=/www/server/php/74/bin/php-config  \
          --enable-openssl \
          --with-openssl-dir  \
          --enable-swoole-curl  \
          --enable-http2 && \
          make && sudo make install
          

          Nginx 部署配置

          首先解析網(wǎng)站到 frontend\web,然后配置 nginx 如下:

          server {
                  listen        80;
                  server_name  www.ai.com;
                  root   "*/firetech/frontend";
                  add_header Access-Control-Allow-Origin *;
                  add_header Access-Control-Allow-Headers X-Requested-With,Authorization,Content-Type,access-token,bloc-id,store-id;
                  add_header Access-Control-Allow-Methods GET,POST,OPTIONS,DELETE,PUT;
          
                  location /api {
                      index index.php index.html;
                      if (!-e $request_filename)
                      {
                          rewrite ^/api/(.*)$ /api/index.php last;
                      }
                      if (!-f $request_filename){
                          set $rule_0 1$rule_0;
                      }
                  }
          
                  location /admin {
                      index index.php index.html;
                      if (!-e $request_filename)
                      {
                          rewrite ^/admin/(.*)$ /admin/index.php last;
                      }
                  }
          
                  location / {
                      proxy_http_version 1.1;
                      proxy_set_header Connection "keep-alive";
                      proxy_set_header X-Real-IP $remote_addr;
                      proxy_set_header SERVER_NAME $server_name;
                      if (!-e $request_filename) {
                          proxy_pass http://127.0.0.1:9501;
                      }
                  }
          }
          

          特別鳴謝

          感謝以下的項(xiàng)目,排名不分先后

          瀏覽 23
          點(diǎn)贊
          評(píng)論
          收藏
          分享

          手機(jī)掃一掃分享

          編輯 分享
          舉報(bào)
          評(píng)論
          圖片
          表情
          推薦
          點(diǎn)贊
          評(píng)論
          收藏
          分享

          手機(jī)掃一掃分享

          編輯 分享
          舉報(bào)
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  黄色免费成人网址 | 色欲国产精品毛片大全 | 黄色成人视频网站在线观看 | 请搜索亚洲家庭乱伦 | 亚洲乱伦小说专区 |