feat(partner): 升级创客平级收益支持两代级联机制与单元测试用例
这个提交包含在:
@@ -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;
|
||||
|
||||
在新工单中引用
屏蔽一个用户