FastMovieAI 二开基线 v1.0 (完整源码)

This commit is contained in:
李建琦
2026-08-26 18:41:02 +08:00
parent fad7690c0c
commit d54584f70d
888 changed files with 105571 additions and 1 deletions
@@ -0,0 +1,9 @@
<?php
use support\Request;
return [
'debug' => true,
'controller_suffix' => 'Controller',
'controller_reuse' => false
];
@@ -0,0 +1,6 @@
<?php
return [
'files' => [
base_path() . '/plugin/finance/app/functions.php',
]
];
@@ -0,0 +1,2 @@
<?php
return new Webman\Container;
@@ -0,0 +1,12 @@
<?php
use app\expose\enum\EventName;
return [
EventName::ORDERS_PAY['value']=>[
[\plugin\finance\event\Orders::class,'pay']
],
EventName::ORDERS_PAY_SUCCESS['value']=>[
[\plugin\finance\event\Orders::class,'paySuccess']
],
];
@@ -0,0 +1,5 @@
<?php
return [
'' => app\exception\Handler::class,
];
@@ -0,0 +1,18 @@
<?php
return [
'' => [
app\expose\middleware\Platform::class
],
'admin' => [
app\expose\middleware\AdminAuth::class
],
'control' => [
plugin\control\expose\middleware\ControlAuth::class
],
'api' => [
plugin\control\expose\middleware\DomainMapping::class,
plugin\user\expose\middleware\UserAuth::class,
plugin\user\expose\middleware\Twofa::class,
]
];
@@ -0,0 +1,10 @@
<?php
use plugin\finance\process\Expire;
use Workerman\Events\Select;
return [
'OrdersExpire' => [
'eventLoop' => Select::class,
'handler' => Expire::class
],
];
@@ -0,0 +1,27 @@
<?php
use app\expose\build\builder\ComponentBuilder;
$Component = new ComponentBuilder;
return [
[
'title' => '订单过期时间',
'field' => 'expire_time',
'value' => 15,
'component' => 'input-number',
'extra' => [
'required' => true,
'prompt' => [
$Component->add('text', ['default' => '订单过期时间,单位:分钟'], ['type' => 'info', 'size' => 'small'])
->builder()
],
'props' => [
'min' => 1,
'max' => 1440,
'step' => 1,
'precision' => 0,
'controls' => false
]
]
],
];
@@ -0,0 +1,25 @@
<?php
/**
* This file is part of webman.
*
* Licensed under The MIT License
* For full copyright and license information, please see the MIT-LICENSE.txt
* Redistributions of files must retain the above copyright notice.
*
* @author walkor<walkor@workerman.net>
* @copyright walkor<walkor@workerman.net>
* @link http://www.workerman.net/
* @license http://www.opensource.org/licenses/mit-license.php MIT License
*/
/**
* Multilingual configuration
*/
return [
// Default language
'locale' => 'zh_CN',
// Fallback language
'fallback_locale' => ['zh_CN', 'en'],
// Folder where language files are stored
'path' => base_path() . '/plugin/finance/resource/translations',
];