23 lines
356 B
PHP
23 lines
356 B
PHP
<?php
|
|
|
|
|
|
namespace Yunshop\ExamplePlugin;
|
|
|
|
use Illuminate\Http\Request;
|
|
use app\common\components\BaseController;
|
|
|
|
class TestController extends BaseController
|
|
{
|
|
public function welcome($name)
|
|
{
|
|
|
|
return view('Yunshop\ExamplePlugin::admin.test',compact('name'))->render();
|
|
}
|
|
|
|
protected function test()
|
|
{
|
|
echo 'a';
|
|
}
|
|
|
|
}
|