Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
ModStart
ModStartCMS
提交
f2695c02
ModStartCMS
项目概览
ModStart
/
ModStartCMS
通知
2
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
ModStartCMS
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
f2695c02
编写于
10月 21, 2021
作者:
ModStart
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
develop
上级
4888c7d0
变更
22
展开全部
隐藏空白更改
内联
并排
Showing
22 changed file
with
45 addition
and
22730 deletion
+45
-22730
app/Web/Controller/IndexController.php
app/Web/Controller/IndexController.php
+0
-1
app/Web/routes.php
app/Web/routes.php
+1
-0
module/Cms/Api/Controller/ChannelController.php
module/Cms/Api/Controller/ChannelController.php
+2
-0
module/Cms/Api/Controller/IndexController.php
module/Cms/Api/Controller/IndexController.php
+2
-0
module/Cms/Api/Controller/WriterController.php
module/Cms/Api/Controller/WriterController.php
+3
-0
module/ModuleStore/Asset/entry/moduleStore.js
module/ModuleStore/Asset/entry/moduleStore.js
+1
-1
module/ModuleStore/resources/asset/src/pages/ModuleStore.vue
module/ModuleStore/resources/asset/src/pages/ModuleStore.vue
+1
-1
module/Vendor/Docs/release/1.6.0.md
module/Vendor/Docs/release/1.6.0.md
+1
-0
module/Vendor/Installer/function.php
module/Vendor/Installer/function.php
+19
-0
module/Vendor/Installer/install.php
module/Vendor/Installer/install.php
+1
-1
public/asset/common/uploadButton.js
public/asset/common/uploadButton.js
+1
-1
public/vendor/ModuleDeveloper/entry/apiDoc.js
public/vendor/ModuleDeveloper/entry/apiDoc.js
+1
-0
public/vendor/ModuleDeveloper/entry/moduleDeveloper.js
public/vendor/ModuleDeveloper/entry/moduleDeveloper.js
+1
-42
public/vendor/ModuleDeveloper/style/swagger-custom.css
public/vendor/ModuleDeveloper/style/swagger-custom.css
+1
-0
public/vendor/ModuleDeveloper/style/swagger-ui.css
public/vendor/ModuleDeveloper/style/swagger-ui.css
+1
-0
public/vendor/ModuleStore/entry/moduleStore.js
public/vendor/ModuleStore/entry/moduleStore.js
+1
-1
vendor/modstart/modstart/asset/common/uploadButton.js
vendor/modstart/modstart/asset/common/uploadButton.js
+1
-1
vendor/modstart/modstart/resources/asset/src/common/uploadButton.js
...start/modstart/resources/asset/src/common/uploadButton.js
+1
-1
vendor/modstart/modstart/resources/asset/src/lib/style/base-lg.css
...dstart/modstart/resources/asset/src/lib/style/base-lg.css
+0
-22679
vendor/modstart/modstart/src/Core/Input/Response.php
vendor/modstart/modstart/src/Core/Input/Response.php
+4
-1
vendor/modstart/modstart/views/core/grid/index.blade.php
vendor/modstart/modstart/views/core/grid/index.blade.php
+1
-0
vendor/modstart/modstart/views/core/grid/simple.blade.php
vendor/modstart/modstart/views/core/grid/simple.blade.php
+1
-0
未找到文件。
app/Web/Controller/IndexController.php
浏览文件 @
f2695c02
...
...
@@ -12,6 +12,5 @@ class IndexController extends BaseController
{
InstallerUtil
::
checkForInstallRedirect
();
return
HomePageProvider
::
call
(
__METHOD__
,
'\\Module\\Cms\\Web\\Controller\\IndexController@index'
);
}
}
app/Web/routes.php
浏览文件 @
f2695c02
...
...
@@ -12,6 +12,7 @@ Route::group(
],
function
()
{
Route
::
match
([
'get'
,
'post'
],
''
,
'IndexController@index'
);
Route
::
match
([
'get'
,
'post'
],
'test'
,
'IndexController@test'
);
Route
::
match
([
'get'
,
'post'
],
'member'
,
'MemberController@index'
);
Route
::
match
([
'get'
,
'post'
],
'member/{id}'
,
'MemberController@show'
);
Route
::
match
([
'get'
,
'post'
],
'member_profile'
,
'MemberProfileController@index'
);
...
...
module/Cms/Api/Controller/ChannelController.php
浏览文件 @
f2695c02
...
...
@@ -13,8 +13,10 @@ use Module\Cms\Util\ChannelUtil;
use
Module\Cms\Util\PostUtil
;
use
Module\Member\Util\MemberUtil
;
class
ChannelController
extends
Controller
{
public
function
paginate
()
{
$input
=
InputPackage
::
buildFromInput
();
...
...
module/Cms/Api/Controller/IndexController.php
浏览文件 @
f2695c02
...
...
@@ -9,8 +9,10 @@ use ModStart\Core\Input\Response;
use
Module\Cms\Util\ChannelUtil
;
use
Module\Cms\Util\PostUtil
;
class
IndexController
extends
Controller
{
public
function
home
()
{
$channelTree
=
ChannelUtil
::
tree
();
...
...
module/Cms/Api/Controller/WriterController.php
浏览文件 @
f2695c02
...
...
@@ -21,8 +21,10 @@ use Module\Member\Support\MemberLoginCheck;
use
Module\Member\Util\MemberUtil
;
use
Module\Vendor\Html\HtmlConverter
;
class
WriterController
extends
Controller
implements
MemberLoginCheck
{
public
function
settingGet
()
{
$memberUser
=
MemberUser
::
user
();
...
...
@@ -35,6 +37,7 @@ class WriterController extends Controller implements MemberLoginCheck
return
Response
::
generateSuccessData
(
$setting
);
}
public
function
settingSave
()
{
$input
=
InputPackage
::
buildFromInput
();
...
...
module/ModuleStore/Asset/entry/moduleStore.js
浏览文件 @
f2695c02
此差异已折叠。
点击以展开。
module/ModuleStore/resources/asset/src/pages/ModuleStore.vue
浏览文件 @
f2695c02
...
...
@@ -106,7 +106,7 @@
<div>
<a
:href=
"module.url"
target=
"_blank"
class=
"tw-font-bold tw-text-gray-700 ub-text-truncate tw-block"
>
<span
v-if=
"module._isLocal"
class=
"ub-tag primary sm ub-bg-a"
>
本地
插件
</span>
<span
v-if=
"module._isLocal"
class=
"ub-tag primary sm ub-bg-a"
>
本地
模块
</span>
<span
v-html=
"$highlight(module.title,search.keywords)"
></span>
</a>
<div>
...
...
module/Vendor/Docs/release/1.6.0.md
浏览文件 @
f2695c02
-
新增:SmsTemplateProvider,提供抽象的模板短信发送
-
新增:安装引导程序版本判断,目前支持5.6.x和7.0.x
module/Vendor/Installer/function.php
浏览文件 @
f2695c02
...
...
@@ -22,6 +22,25 @@ if (!file_exists(ENV_FILE)) {
file_put_contents
(
ENV_FILE
,
"APP_ENV=beta
\n
APP_DEBUG=true
\n
APP_KEY="
.
\
ModStart\Core\Util\RandomUtil
::
string
(
32
));
}
function
php_version_requires
()
{
return
join
(
', '
,
[
'5.6.x'
,
'7.0.x'
,
]);
}
function
php_version_ok
()
{
if
(
version_compare
(
PHP_VERSION
,
'5.5.9'
,
'<'
))
{
return
false
;
}
if
(
version_compare
(
PHP_VERSION
,
'7.1.0'
,
'>='
))
{
return
false
;
}
return
true
;
}
function
get_env_config
(
$key
,
$default
=
''
)
{
static
$envConfig
=
null
;
...
...
module/Vendor/Installer/install.php
浏览文件 @
f2695c02
...
...
@@ -46,7 +46,7 @@ include __DIR__ . '/function.php';
</div>
<div
class=
"body"
>
<?php
text_success
(
'系统:'
.
PHP_OS
);
?>
<?php
version_compare
(
PHP_VERSION
,
'5.5.9'
,
'>='
)
?
text_success
(
'PHP版本'
.
PHP_VERSION
)
:
text_error
(
'PHP版本>=5.5.9 当前为
'
.
PHP_VERSION
);
?>
<?php
php_version_ok
()
?
text_success
(
'PHP版本 '
.
PHP_VERSION
)
:
text_error
(
'PHP版本要求('
.
php_version_requires
()
.
') 当前为
'
.
PHP_VERSION
);
?>
<?php
text_success
(
'最大上传:'
.
FileUtil
::
formatByte
(
EnvUtil
::
env
(
'uploadMaxSize'
)));
?>
<?php
function_exists
(
'openssl_open'
)
?
text_success
(
'OpenSSL PHP 扩展'
)
:
text_error
(
'缺少 OpenSSL PHP 扩展'
);
?>
<?php
function_exists
(
'exif_read_data'
)
?
text_success
(
'Exif PHP 扩展'
)
:
text_error
(
'缺少 Exif PHP 扩展'
);
?>
...
...
public/asset/common/uploadButton.js
浏览文件 @
f2695c02
此差异已折叠。
点击以展开。
public/vendor/ModuleDeveloper/entry/apiDoc.js
0 → 100644
浏览文件 @
f2695c02
此差异已折叠。
点击以展开。
public/vendor/ModuleDeveloper/entry/moduleDeveloper.js
浏览文件 @
f2695c02
此差异已折叠。
点击以展开。
public/vendor/ModuleDeveloper/style/swagger-custom.css
0 → 100644
浏览文件 @
f2695c02
.swagger-ui
.info
.title
small
pre
{
background
:
0
0
;
border
:
0
}
.swagger-ui
code
{
background
:
0
0
;
border
:
0
;
color
:
inherit
}
\ No newline at end of file
public/vendor/ModuleDeveloper/style/swagger-ui.css
0 → 100644
浏览文件 @
f2695c02
此差异已折叠。
点击以展开。
public/vendor/ModuleStore/entry/moduleStore.js
浏览文件 @
f2695c02
此差异已折叠。
点击以展开。
vendor/modstart/modstart/asset/common/uploadButton.js
浏览文件 @
f2695c02
此差异已折叠。
点击以展开。
vendor/modstart/modstart/resources/asset/src/common/uploadButton.js
浏览文件 @
f2695c02
...
...
@@ -82,7 +82,7 @@ var UploadButton = function (selector, option) {
var
me
=
this
;
var
$me
=
$
(
this
);
$me
.
html
(
'
<div style="padding:0;margin:0;
display:inline-block;
"><div class="picker">
'
+
opt
.
text
+
'
</div><ul class="webuploader-list"></ul></div>
'
);
$me
.
html
(
'
<div style="padding:0;margin:0;"><div class="picker">
'
+
opt
.
text
+
'
</div><ul class="webuploader-list"></ul></div>
'
);
var
$list
=
$me
.
find
(
'
.webuploader-list
'
);
...
...
vendor/modstart/modstart/resources/asset/src/lib/style/base-lg.css
已删除
100644 → 0
浏览文件 @
4888c7d0
此差异已折叠。
点击以展开。
vendor/modstart/modstart/src/Core/Input/Response.php
浏览文件 @
f2695c02
...
...
@@ -247,7 +247,10 @@ class Response
public
static
function
send
(
$code
,
$msg
,
$data
=
null
,
$redirect
=
null
)
{
if
(
\
Illuminate\Support\Facades\Request
::
ajax
()
||
Request
::
headerGet
(
'is-ajax'
,
false
))
{
if
(
\
Illuminate\Support\Facades\Request
::
ajax
()
||
Request
::
headerGet
(
'is-ajax'
,
false
)
||
((
$headerAccept
=
Request
::
headerGet
(
'accept'
))
&&
$headerAccept
==
'application/json'
)
)
{
return
self
::
json
(
$code
,
$msg
,
$data
,
$redirect
);
}
else
{
if
(
empty
(
$msg
)
&&
$redirect
)
{
...
...
vendor/modstart/modstart/views/core/grid/index.blade.php
浏览文件 @
f2695c02
...
...
@@ -113,6 +113,7 @@
search
:
$lister
.
find
(
'
[data-search]
'
),
table
:
$lister
.
find
(
'
[data-table]
'
)
},
{
hashUrl
:
false
,
server
:
window
.
location
.
href
,
render
:
function
(
data
)
{
listerData
=
data
;
...
...
vendor/modstart/modstart/views/core/grid/simple.blade.php
浏览文件 @
f2695c02
...
...
@@ -158,6 +158,7 @@
search
:
$lister
.
find
(
'
[data-search]
'
),
table
:
$lister
.
find
(
'
[data-table]
'
)
},
{
hashUrl
:
false
,
server
:
window
.
location
.
href
,
render
:
function
(
data
)
{
listerData
=
data
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录