pull/1/head
张萌 2 years ago
parent 796c8ac062
commit 95633159d1

1
.gitignore vendored

@ -0,0 +1 @@
/runtime/

8
.idea/.gitignore vendored

@ -0,0 +1,8 @@
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

@ -0,0 +1,56 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/spec" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/tests" isTestSource="true" />
<excludeFolder url="file://$MODULE_DIR$/vendor/topthink/think-installer" />
<excludeFolder url="file://$MODULE_DIR$/vendor/topthink/think-sae" />
<excludeFolder url="file://$MODULE_DIR$/vendor/pclzip/pclzip" />
<excludeFolder url="file://$MODULE_DIR$/vendor/topthink/think-worker" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpexcel/PHPExcel" />
<excludeFolder url="file://$MODULE_DIR$/vendor/topthink/think-image" />
<excludeFolder url="file://$MODULE_DIR$/vendor/topthink/think-mongo" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpspec/prophecy" />
<excludeFolder url="file://$MODULE_DIR$/vendor/composer" />
<excludeFolder url="file://$MODULE_DIR$/vendor/zendframework/zend-escaper" />
<excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/recursion-context" />
<excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/diff" />
<excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/global-state" />
<excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/comparator" />
<excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/environment" />
<excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/exporter" />
<excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/version" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpdocumentor/reflection-docblock" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpdocumentor/type-resolver" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpdocumentor/reflection-common" />
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/instantiator" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpoffice/phpspreadsheet" />
<excludeFolder url="file://$MODULE_DIR$/vendor/webmozart/assert" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-mbstring" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpoffice/phpword" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/yaml" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpoffice/common" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/dom-crawler" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpoffice/phpexcel" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-ctype" />
<excludeFolder url="file://$MODULE_DIR$/vendor/workerman/workerman" />
<excludeFolder url="file://$MODULE_DIR$/vendor/psr/simple-cache" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpunit/php-timer" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpunit/php-file-iterator" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpunit/php-text-template" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpunit/phpunit" />
<excludeFolder url="file://$MODULE_DIR$/vendor/topthink/think-testing" />
<excludeFolder url="file://$MODULE_DIR$/vendor/markbaker/matrix" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpunit/phpunit-mock-objects" />
<excludeFolder url="file://$MODULE_DIR$/vendor/topthink/think-helper" />
<excludeFolder url="file://$MODULE_DIR$/vendor/markbaker/complex" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpunit/php-code-coverage" />
<excludeFolder url="file://$MODULE_DIR$/vendor/topthink/think-queue" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpunit/php-token-stream" />
<excludeFolder url="file://$MODULE_DIR$/vendor/topthink/think-migration" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/crm_php.iml" filepath="$PROJECT_DIR$/.idea/crm_php.iml" />
</modules>
</component>
</project>

@ -0,0 +1,69 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="MessDetectorOptionsConfiguration">
<option name="transferred" value="true" />
</component>
<component name="PHPCSFixerOptionsConfiguration">
<option name="transferred" value="true" />
</component>
<component name="PHPCodeSnifferOptionsConfiguration">
<option name="highlightLevel" value="WARNING" />
<option name="transferred" value="true" />
</component>
<component name="PhpIncludePathManager">
<include_path>
<path value="$PROJECT_DIR$/vendor/topthink/think-installer" />
<path value="$PROJECT_DIR$/vendor/topthink/think-sae" />
<path value="$PROJECT_DIR$/vendor/pclzip/pclzip" />
<path value="$PROJECT_DIR$/vendor/topthink/think-worker" />
<path value="$PROJECT_DIR$/vendor/phpexcel/PHPExcel" />
<path value="$PROJECT_DIR$/vendor/topthink/think-image" />
<path value="$PROJECT_DIR$/vendor/topthink/think-mongo" />
<path value="$PROJECT_DIR$/vendor/phpspec/prophecy" />
<path value="$PROJECT_DIR$/vendor/composer" />
<path value="$PROJECT_DIR$/vendor/zendframework/zend-escaper" />
<path value="$PROJECT_DIR$/vendor/sebastian/recursion-context" />
<path value="$PROJECT_DIR$/vendor/sebastian/diff" />
<path value="$PROJECT_DIR$/vendor/sebastian/global-state" />
<path value="$PROJECT_DIR$/vendor/sebastian/comparator" />
<path value="$PROJECT_DIR$/vendor/sebastian/environment" />
<path value="$PROJECT_DIR$/vendor/sebastian/exporter" />
<path value="$PROJECT_DIR$/vendor/sebastian/version" />
<path value="$PROJECT_DIR$/vendor/phpdocumentor/reflection-docblock" />
<path value="$PROJECT_DIR$/vendor/phpdocumentor/type-resolver" />
<path value="$PROJECT_DIR$/vendor/phpdocumentor/reflection-common" />
<path value="$PROJECT_DIR$/vendor/doctrine/instantiator" />
<path value="$PROJECT_DIR$/vendor/phpoffice/phpspreadsheet" />
<path value="$PROJECT_DIR$/vendor/webmozart/assert" />
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-mbstring" />
<path value="$PROJECT_DIR$/vendor/phpoffice/phpword" />
<path value="$PROJECT_DIR$/vendor/symfony/yaml" />
<path value="$PROJECT_DIR$/vendor/phpoffice/common" />
<path value="$PROJECT_DIR$/vendor/symfony/dom-crawler" />
<path value="$PROJECT_DIR$/vendor/phpoffice/phpexcel" />
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-ctype" />
<path value="$PROJECT_DIR$/vendor/workerman/workerman" />
<path value="$PROJECT_DIR$/vendor/psr/simple-cache" />
<path value="$PROJECT_DIR$/vendor/phpunit/php-timer" />
<path value="$PROJECT_DIR$/vendor/phpunit/php-file-iterator" />
<path value="$PROJECT_DIR$/vendor/phpunit/php-text-template" />
<path value="$PROJECT_DIR$/vendor/phpunit/phpunit" />
<path value="$PROJECT_DIR$/vendor/topthink/think-testing" />
<path value="$PROJECT_DIR$/vendor/markbaker/matrix" />
<path value="$PROJECT_DIR$/vendor/phpunit/phpunit-mock-objects" />
<path value="$PROJECT_DIR$/vendor/topthink/think-helper" />
<path value="$PROJECT_DIR$/vendor/markbaker/complex" />
<path value="$PROJECT_DIR$/vendor/phpunit/php-code-coverage" />
<path value="$PROJECT_DIR$/vendor/topthink/think-queue" />
<path value="$PROJECT_DIR$/vendor/phpunit/php-token-stream" />
<path value="$PROJECT_DIR$/vendor/topthink/think-migration" />
</include_path>
</component>
<component name="PhpProjectSharedConfiguration" php_language_level="7.0" />
<component name="PhpStanOptionsConfiguration">
<option name="transferred" value="true" />
</component>
<component name="PsalmOptionsConfiguration">
<option name="transferred" value="true" />
</component>
</project>

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

@ -0,0 +1 @@
open_basedir=/www/wwwroot/72crm/:/tmp/

@ -0,0 +1,26 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>404</title>
<style>
body{
background-color:#444;
font-size:14px;
}
h3{
font-size:60px;
color:#eee;
text-align:center;
padding-top:30px;
font-weight:normal;
}
</style>
</head>
<body>
<h3>404您请求的文件不存在!</h3>
</body>
</html>

@ -187,7 +187,7 @@ return [
// 端口
'port' => 6379,
// 密码
'password' => '123456',
'password' => '',
// 缓存前缀
'prefix' => '',
// 缓存有效期 0表示永久缓存

@ -5,11 +5,11 @@ return [
// 服务器地址
'hostname' => '127.0.0.1',
// 数据库名
'database' => '',
'database' => 'test_com',
// 用户名
'username' => '',
'username' => 'test_com',
// 密码
'password' => '',
'password' => 'YNKdaMS2XBHKcAh7',
// 端口
'hostport' => '3306',
// 连接dsn
@ -19,7 +19,7 @@ return [
// 数据库编码默认采用utf8
'charset' => 'utf8',
// 数据库表前缀
'prefix' => '5kcrm_', // 默认表前缀,不要改为其他值。
'prefix' => '5kcrm_',
// 数据库调试模式
'debug' => true,
// 数据库部署方式:0 集中式(单一服务器),1 分布式(主从服务器)

@ -0,0 +1 @@
6EA74C261C4BA344BC716FCD68295694BABFE016F5B7FA4890E4E29B0F52A5D965EE4A1AF633633D4573A2559630986F976D8F2920D688686CB60967F6FFB9FDADE6AC6DFD39416DE175D0DE01699C816244C16EE4E533A959E3ED0653143A7363E5B98E62126A78CDC5578636F456D29FD2B063FCBED837D50B10450C6FFBF0290DB782C8D4525864A96A98C37C0106FB5D8392A7E828F0BEFA86B4CD28BEBE83628A59BB23F60B7799A22C8D7B2039ED30F05492E9D2A2E2A03D7AC0199EA2CE529D561AE622B3C0DECC50D8A223BC5DA03E3AFF1150F0F217B0BE0400835369329DB74454870D5314DBA7C24B98CCE5600CBDAF264A21974FA3C85E7EAF0A

@ -0,0 +1,128 @@
<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:60:"/www/wwwroot/72crm/application/admin/view/install/step1.html";i:1676274191;s:60:"/www/wwwroot/72crm/application/admin/view/public/header.html";i:1676274191;s:60:"/www/wwwroot/72crm/application/admin/view/public/footer.html";i:1676274191;}*/ ?>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<title>悟空CRM安装向导</title>
<link rel="shortcut icon" href="/public/static/icon/favicon.ico">
<link rel="stylesheet" href="/public/static/style/base.css">
<link rel="stylesheet" href="/public/static/style/step1.css">
<script src="/public/static/js/jquery-3.3.1.min.js"></script>
</head>
<body>
<div class="header-wrapper">
<header class="header">
<div class="header-content">
<h1 class="logo">
<a href="http://www.5kcrm.com"><img class="pic" src="/public/static/img/logo.png" alt=""></a>
</h1>
<div class="title">
悟空CRM11.0安装向导
</div>
<div class="concat-us">
<img class="icon" src="/public/static/icon/phone.png" alt="">
<span class="desc">官方电话400-0812-558</span>
</div>
</div>
</header>
</div>
<div class="top">
<div class="step-group">
<div class="step active">
<div class="sort">
<img class="pic" style="width:100%; height: 100%;" src="/public/static/icon/success.png" alt="">
</div>
<div class="desc">检查安装环境</div>
</div>
<div class="step line"></div>
<div class="step">
<div class="sort">
<img class="pic" style="width:100%; height: 100%;" src="/public/static/icon/success_gray.png" alt="">
</div>
<div class="desc">创建数据库</div>
</div>
<div class="step line"></div>
<div class="step">
<div class="sort">
<img class="pic" style="width:100%; height: 100%;" src="/public/static/icon/success_gray.png" alt="">
</div>
<div class="desc">安装成功</div>
</div>
</div>
</div>
<div class="container">
<div class="content">
<div class="base-top">
<span class="title">检查安装环境</span>
<span class="version">当前版本:<?php echo $data['version']['VERSION']; ?> <?php echo $data['version']['RELEASE']; ?></span>
</div>
<div class="table">
<table class="table_01">
<thead>
<tr>
<th>检查项</th>
<th>当前环境</th>
<th>悟空CRM建议</th>
<th>当前状态</th>
</tr>
</thead>
<tbody>
<?php if(is_array($data['env']) || $data['env'] instanceof \think\Collection || $data['env'] instanceof \think\Paginator): $i = 0; $__LIST__ = $data['env'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$row): $mod = ($i % 2 );++$i;?>
<tr>
<td><?php echo $row[0]; ?></td>
<td><?php echo $row[1]; ?></td>
<td><?php echo $row[2]; ?></td>
<td>
<?php if($row['3'] == 'ok'): ?>
<img src="/public/static/icon/success.png" width="20">
<?php else: ?>
<img src="/public/static/icon/error.png" width="20">
<?php endif; ?>
</td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; ?>
</tbody>
</table>
<table class="catalogue-table">
<thead>
<tr>
<th>目录文件</th>
<th>所需状态</th>
<th>当前状态</th>
</tr>
</thead>
<tbody>
<?php foreach($data['dir'] as $value){ ?>
<tr>
<td><?php echo $value[1]; ?></td>
<td><?php echo $value[3]; ?></td>
<?php if($value[5] =='ok') { ?>
<td><img src="/public/static/icon/success.png" width="20"></td>
<?php } else { ?>
<td><img src="/public/static/icon/error.png" width="20"></td>
<?php } ?>
</tr>
<?php } ?>
</tbody>
</table>
</div>
<div class="control">
<div class="prev btn">上一步</div>
<div class="next btn primary">下一步</div>
</div>
</div>
</div>
<div class="footer-wrapper">
<footer class="footer">
<div class="content">
悟空CRM受国家计算机软件著作权保护未经授权不得进行商业行为违者必究。<br>
&copy;2021 悟空软件 <a target="_blank" style="color: #fff;" href="http://www.5kcrm.com">www.5kcrm.com</a>
</div>
</footer>
</div>
</body>
<script src="/public/static/js/step1.js"></script>
</html>

@ -0,0 +1,80 @@
<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:60:"/www/wwwroot/72crm/application/admin/view/install/step6.html";i:1676274191;s:60:"/www/wwwroot/72crm/application/admin/view/public/header.html";i:1676274191;s:60:"/www/wwwroot/72crm/application/admin/view/public/footer.html";i:1676274191;}*/ ?>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<title>悟空CRM安装向导</title>
<link rel="shortcut icon" href="/public/static/icon/favicon.ico">
<link rel="stylesheet" href="/public/static/style/base.css">
<link rel="stylesheet" href="/public/static/style/step3.css">
<script src="/public/static/js/jquery-3.3.1.min.js"></script>
</head>
<body>
<div class="header-wrapper">
<header class="header">
<div class="header-content">
<h1 class="logo">
<a href="http://www.5kcrm.com"><img class="pic" src="/public/static/img/logo.png" alt=""></a>
</h1>
<div class="title">
悟空CRM11.0安装向导
</div>
<div class="concat-us">
<img class="icon" src="/public/static/icon/phone.png" alt="">
<span class="desc">官方电话400-0812-558</span>
</div>
</div>
</header>
</div>
<div class="top">
<div class="step-group">
<div class="step active">
<div class="sort">
<img class="pic" style="width:100%; height: 100%;" src="/public/static/icon/success.png" alt="">
</div>
<div class="desc">检查安装环境</div>
</div>
<div class="step active line"></div>
<div class="step active">
<div class="sort">
<img class="pic" style="width:100%; height: 100%;" src="/public/static/icon/success.png" alt="">
</div>
<div class="desc">创建数据库</div>
</div>
<div class="step line active"></div>
<div class="step">
<div class="sort">
<img class="pic" style="width:100%; height: 100%;" src="/public/static/icon/success.png" alt="">
</div>
<div class="desc">安装失败</div>
</div>
</div>
</div>
<div class="container">
<div class="result">
<h1 style="text-align:center;padding-top: 20px;">安装悟空CRM数据库超时请手动导入SQL文件</h1>
<div class="desc" style="overflow:scroll;overflow-x:hidden;height:500px;color:#666666;font-weight: 600; margin-top: 50px; line-height:30px; text-align: left;padding-left: 20px;">
<p>1、SQL文件位置public/sql/5kcrm.sql、public/sql/install.sql</p>
<p>2、修改config目录下database_template.php文件的数据库连接信息</p>
<p>3、最后将database_template.php重名为database.php</p>
</div>
</div>
</div>
<div class="footer-wrapper">
<footer class="footer">
<div class="content">
悟空CRM受国家计算机软件著作权保护未经授权不得进行商业行为违者必究。<br>
&copy;2021 悟空软件 <a target="_blank" style="color: #fff;" href="http://www.5kcrm.com">www.5kcrm.com</a>
</div>
</footer>
</div>
</body>
<script>
$('.login').click(function () {
window.location = '../../../index.html'
})
</script>
</html>

@ -0,0 +1,98 @@
<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:60:"/www/wwwroot/72crm/application/admin/view/install/index.html";i:1676274191;s:60:"/www/wwwroot/72crm/application/admin/view/public/header.html";i:1676274191;s:60:"/www/wwwroot/72crm/application/admin/view/public/footer.html";i:1676274191;}*/ ?>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<title>悟空CRM安装向导</title>
<link rel="shortcut icon" href="/public/static/icon/favicon.ico">
<link rel="stylesheet" href="/public/static/style/base.css">
<link rel="stylesheet" href="/public/static/style/index.css">
<script src="/public/static/js/jquery-3.3.1.min.js"></script>
</head>
<body>
<div class="header-wrapper">
<header class="header">
<div class="header-content">
<h1 class="logo">
<a href="http://www.5kcrm.com"><img class="pic" src="/public/static/img/logo.png" alt=""></a>
</h1>
<div class="title">
悟空CRM11.0安装向导
</div>
<div class="concat-us">
<img class="icon" src="/public/static/icon/phone.png" alt="">
<span class="desc">官方电话400-0812-558</span>
</div>
</div>
</header>
</div>
<div class="top">
<div class="agreement-title">悟空CRM系统开源版使用协议</div>
</div>
<div class="container">
<div class="agreement">
<p style="text-align:center;font-size:18px;">悟空CRM开源版使用协议</p>
<br>
悟空CRMCustomer Relationship Management悟空客户关系管理软件以下简称悟空CRM由郑州卡卡罗特软件科技有限公司以下简称卡卡罗特开发。卡卡罗特依法拥有悟空CRM的所有版权和所有权益。本着共享开放的角度卡卡罗特以开放源代码的形式发布悟空CRM您可以在遵守该协议的前提下使用悟空CRM。<br>
<br>
自您安装悟空CRM开始您和卡卡罗特之间的合同关系自动成立成为卡卡罗特用户以下简称为用户。除非您停止使用悟空CRM或与卡卡罗特有签署额外合同您须认真遵循该用户协议约定的每一项条款。<br>
<br>
官方地址:<a target="_blank" href="http://www.5kcrm.com">www.5kcrm.com</a> / <a target="_blank" href="https://www.72crm.com">www.72crm.com</a><br>
官方电话400-0812-558<br>
官方邮箱service@5kcrm.com<br>
官方社区:<a target="_blank" href="https://bbs.72crm.com">bbs.72crm.com</a><br>
官方社群:<a target="_blank" href="//shang.qq.com/wpa/qunwpa?idkey=f4687b809bf63f08f707aa1c56dee8dbcb9526237c429c4532222021d65bf83c">悟空CRM交流10群486745026</a><br>
<br>
<p>一、协议中提到的名词约定</p>
1.1下述条款中所指悟空CRM的标志包括如下方面<br>
悟空CRM源代码及文档中关于悟空CRM的版权提示、文字、图片和链接。<br>
悟空CRM运行时界面上呈现出来的有关悟空CRM的文字、图片和链接。<br>
1.2不包括如下方面:<br>
悟空CRM提供的演示数据中关于悟空CRM的文字、图片和链接。<br>
<br>
<p>二、免责声明</p>
2.1用户出于自愿而使用本软件,必须了解使用本软件的风险,在尚未购买产品技术服务或商业授权之前,我们不承诺对免费用户提供任何形式的技术支持、使用担保,也不承担任何因使用本软件而产生问题的相关责任。<br>
2.2电子文本形式的使用协议如同双方书面签署的协议一样具有完全的和等同的法律效力。您一旦开始确认本协议并安装悟空CRM即被视为完全理解并接受本协议的各项条款在享有以下条款授予的权力的同时受到相关的约束和限制。<br>
2.3协议许可范围以外的行为,将直接违反本授权协议并构成侵权,我们有权随时终止授权,责令停止损害,并保留追究相关责任的权利。<br>
<br>
<p>三、协议许可的权利</p>
3.1 如果您以学习或研究为目的使用悟空CRM卡卡罗特不对您做任何限制。<br>
3.2 您可以在您个人任意数量的电脑上运行悟空CRM卡卡罗特不对电脑的数量做任何限制。<br>
3.3 您可以对悟空CRM源代码进行修改以适应您个人学习研究的要求您做的改动无需对外发布。<br>
3.4卡卡罗特依法拥有悟空CRM的所有版权和软件权益未经商业授权您无任何版权及软件相关权益。<br>
<br>
<p>四、协议规定的约束和限制</p>
4.1当您开始将悟空CRM用于企业内部管理使用意味着已经商用需购买相应的商业授权 <br>
4.2未获得商业授权之前,不得将本软件用于商业用途(包括但不限于企业内部使用、二次开发后进行销售、以营利为目的或实现盈利等形式)。<br>
4.3未经官方许可禁止在悟空CRM的整体或任何部分基础上发展任何派生版本、修改版本或第三方版本用于重新分发,包括但不限于基于悟空CRM开发SAAS平台等相关服务。<br>
4.4如果您未能遵守本协议的条款,您的授权将被终止,所被许可的权利将被收回,并承担相应法律责任。<br>
4.5 您使用悟空CRM时必须保留悟空CRM的所有标志不得以任何方式隐藏或遮掩任一标志。<br>
<br>
<p>五、未尽事项</p>
如果上述条款无法满足您使用悟空CRM的要求可联系卡卡罗特签署额外的合同以获得更灵活的授权许可。<br>
<br>
<p>六、合同约束</p>
如果您违反了该协议的任一条款,该用户协议将自动终止,您必须停止使用,卡卡罗特保留通过法律手段追究责任的权利。<br>
<br>
</div>
<div class="agree-btn">我同意</div>
</div>
<div class="footer-wrapper">
<footer class="footer">
<div class="content">
悟空CRM受国家计算机软件著作权保护未经授权不得进行商业行为违者必究。<br>
&copy;2021 悟空软件 <a target="_blank" style="color: #fff;" href="http://www.5kcrm.com">www.5kcrm.com</a>
</div>
</footer>
</div>
</body>
<script>
$('.agree-btn').click(function () {
window.location = 'step1.html'
});
</script>
</html>

@ -0,0 +1,85 @@
<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:60:"/www/wwwroot/72crm/application/admin/view/install/step5.html";i:1676274191;s:60:"/www/wwwroot/72crm/application/admin/view/public/header.html";i:1676274191;s:60:"/www/wwwroot/72crm/application/admin/view/public/footer.html";i:1676274191;}*/ ?>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<title>悟空CRM安装向导</title>
<link rel="shortcut icon" href="/public/static/icon/favicon.ico">
<link rel="stylesheet" href="/public/static/style/base.css">
<link rel="stylesheet" href="/public/static/style/step3.css">
<script src="/public/static/js/jquery-3.3.1.min.js"></script>
</head>
<body>
<div class="header-wrapper">
<header class="header">
<div class="header-content">
<h1 class="logo">
<a href="http://www.5kcrm.com"><img class="pic" src="/public/static/img/logo.png" alt=""></a>
</h1>
<div class="title">
悟空CRM11.0安装向导
</div>
<div class="concat-us">
<img class="icon" src="/public/static/icon/phone.png" alt="">
<span class="desc">官方电话400-0812-558</span>
</div>
</div>
</header>
</div>
<div class="top">
<div class="step-group">
<div class="step active">
<div class="sort">
<img class="pic" style="width:100%; height: 100%;" src="/public/static/icon/success.png" alt="">
</div>
<div class="desc">检查安装环境</div>
</div>
<div class="step active line"></div>
<div class="step active">
<div class="sort">
<img class="pic" style="width:100%; height: 100%;" src="/public/static/icon/success.png" alt="">
</div>
<div class="desc">创建数据库</div>
</div>
<div class="step line active"></div>
<div class="step">
<div class="sort">
<img class="pic" style="width:100%; height: 100%;" src="/public/static/icon/success.png" alt="">
</div>
<div class="desc">安装成功</div>
</div>
</div>
</div>
<div class="container">
<div class="result">
<div class="status-box" style="display:flex; align-items:center;justify-content:center">
<img class="pic" style="width: 50px; height: 50px;" src="/public/static/icon/success.png" alt="">
</div>
<h1 style="text-align:center">恭喜您,已成功安装悟空CRM</h1>
<div class="desc" style="color:#acacac; font-weight: 600; margin-top: 50px; line-height:30px">
<p>您已经成功安装开源PHP悟空CRM,您可以尽情享用悟空CRM开源版所有功能及服务.</p>
<p>使用管理员账号即可登录</p>
</div>
<div class="control">
<div class="btn primary login">立即登录</div>
</div>
</div>
</div>
<div class="footer-wrapper">
<footer class="footer">
<div class="content">
悟空CRM受国家计算机软件著作权保护未经授权不得进行商业行为违者必究。<br>
&copy;2021 悟空软件 <a target="_blank" style="color: #fff;" href="http://www.5kcrm.com">www.5kcrm.com</a>
</div>
</footer>
</div>
</body>
<script>
$('.login').click(function () {
window.location = '../../../index.html'
})
</script>
</html>

@ -0,0 +1,145 @@
<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:60:"/www/wwwroot/72crm/application/admin/view/install/step2.html";i:1676274191;s:60:"/www/wwwroot/72crm/application/admin/view/public/header.html";i:1676274191;s:60:"/www/wwwroot/72crm/application/admin/view/public/footer.html";i:1676274191;}*/ ?>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<title>悟空CRM安装向导</title>
<link rel="shortcut icon" href="/public/static/icon/favicon.ico">
<link rel="stylesheet" href="/public/static/style/base.css">
<link rel="stylesheet" href="/public/static/style/step2.css">
<link rel="stylesheet" href="/public/static/style/loading.css">
<script src="/public/static/js/jquery-3.3.1.min.js"></script>
</head>
<body style="width: 100%; height: 100%;position: relative;">
<div id="cover">
<div id="loader-container">
<p id="loadingText">creating...</p>
</div>
</div>
<div class="header-wrapper">
<header class="header">
<div class="header-content">
<h1 class="logo">
<a href="http://www.5kcrm.com"><img class="pic" src="/public/static/img/logo.png" alt=""></a>
</h1>
<div class="title">
悟空CRM11.0安装向导
</div>
<div class="concat-us">
<img class="icon" src="/public/static/icon/phone.png" alt="">
<span class="desc">官方电话400-0812-558</span>
</div>
</div>
</header>
</div>
<div class="top">
<div class="step-group">
<div class="step active">
<div class="sort">
<img class="pic" style="width:100%; height: 100%;" src="/public/static/icon/success.png" alt="">
</div>
<div class="desc">检查安装环境</div>
</div>
<div class="step active line"></div>
<div class="step active">
<div class="sort">
<img class="pic" style="width:100%; height: 100%;" src="/public/static/icon/success.png" alt="">
</div>
<div class="desc">创建数据库</div>
</div>
<div class="step line"></div>
<div class="step">
<div class="sort">
<img class="pic" style="width:100%; height: 100%;" src="/public/static/icon/success_gray.png" alt="">
</div>
<div class="desc">安装成功</div>
</div>
</div>
</div>
<div class="container">
<div class="content">
<div class="base-top">
<span class="title">创建数据库</span>
<span class="version">当前版本:<?php echo $envir_data['version']['VERSION']; ?> <?php echo $envir_data['version']['RELEASE']; ?></span>
</div>
<div class="form">
<div class="form-sec-title">请填写数据库信息</div>
<div class="form-item">
<div class="form-label">数据库主机:</div>
<input type="text" class="wkform" name="databaseUrl" placeholder="127.0.0.1">
<!--<div class="error" style="display: none">数据库主机不能空</div>-->
<!-- <div class="remind">数据库地址一般为127.0.0.1</div> -->
</div>
<div class="form-item">
<div class="form-label">数据库名:</div>
<input type="text" class="wkform" name="databaseName">
</div>
<div class="form-item">
<div class="form-label">端口:</div>
<input type="text" class="wkform" name="databasePort" placeholder="一般为3306">
<!-- <div class="remind">一般为 3306</div> -->
</div>
<div class="form-item">
<div class="form-label">数据库用户名:</div>
<input type="text" class="wkform" name="databaseUser" placeholder="生产环境建议创建独立账号">
<!-- <div class="remind">生产环境建议创建独立账号</div> -->
</div>
<div class="form-item">
<div class="form-label">数据库密码:</div>
<input type="password" class="wkform" name="databasePwd">
</div>
<div class="form-item">
<div class="form-label">表前缀:</div>
<input type="text" class="wkform" name="databaseTable" placeholder="默认我5kcrm-" disabled>
<!-- <div class="remind">默认为5kcrm_</div> -->
</div>
<div class="form-item">
<div class="form-label">安装序列号:</div>
<textarea name="wkcode" class="wkform" rows="6" placeholder="请输入您的序列号"></textarea>
<!-- <div class="remind">-->
<!-- <span class="title">您需要通过手机号来<a class="base-a" target="_blank" href="https://www.72crm.com/login">注册悟空ID</a>,该手机号将作为您登录系统的管理员账号。您需要进入【悟空个人中心】,点击【开源版下载】<a class="base-a" target="_blank" href="https://www.72crm.com/login">获取您的序列号</a>如您已经注册悟空ID您只需要点击<a class="base-a" target="_blank" href="https://www.72crm.com/login">登录个人中心</a>即可查看您的序列号</span>-->
<!-- </div>-->
</div>
<div class="form-sec-title">请填写管理员信息</div>
<p style="color:#d5d5d5;font-size: 12px;">
请填写以下管理员信息,是指完成且系统安装成功后,您可以使用管理员信息登录系统.
</p>
<div class="form-item">
<div class="form-label">管理员账号:</div>
<input type="text" class="wkform" name="root" placeholder="请输入您的手机号码">
</div>
<div class="form-item">
<div class="form-label">管理员密码:</div>
<input type="password" class="wkform" name="pwd" placeholder="6~20位字母加数字组合">
</div>
</div>
<div class="base-des">
</div>
<div class="install_progress_a">
<!-- <progress class="install_progress" max="97" value="8"></progress> -->
</div>
<div class="control">
<div class="prev btn">上一步</div>
<div class="next btn primary">安装</div>
</div>
</div>
</div>
<div class="footer-wrapper">
<footer class="footer">
<div class="content">
悟空CRM受国家计算机软件著作权保护未经授权不得进行商业行为违者必究。<br>
&copy;2021 悟空软件 <a target="_blank" style="color: #fff;" href="http://www.5kcrm.com">www.5kcrm.com</a>
</div>
</footer>
</div>
</body>
<!-- <script src="/public/static/js/base.js"></script> -->
<script src="/public/static/js/step2.js"></script>
</html>
Loading…
Cancel
Save