feat(partner): 升级创客平级收益支持两代级联机制与单元测试用例

这个提交包含在:
chen
2026-09-17 13:58:02 +08:00
父节点 9ee5e06e89
当前提交 f932442c1d
共有 9 个文件被更改,包括 1047 次插入 和 138 次删除

查看文件

@@ -6,9 +6,13 @@ namespace tests\partner;
define('APP_PATH', __DIR__ . '/../../application/');
define('ROOT_PATH', dirname(realpath(APP_PATH)) . '/');
require_once __DIR__ . '/../../thinkphp/base.php';
require_once __DIR__ . '/../../thinkphp/helper.php';
require_once __DIR__ . '/../../application/common.php';
\think\Config::set(\think\Config::load(APP_PATH . 'config.php'));
\think\Config::set(\think\Config::load(APP_PATH . 'database.php'));
\think\Loader::addNamespace('app', APP_PATH);
require_once __DIR__ . '/../../addons/shopro/helper/helper.php';
use addons\shopro\controller\commission\Agent;
use think\Request;