qqq
This commit is contained in:
@@ -31,8 +31,8 @@ class Gii
|
|||||||
public string $modelPath = APP_PATH . 'app/Model/';
|
public string $modelPath = APP_PATH . 'app/Model/';
|
||||||
public string $modelNamespace = 'App\Model\\';
|
public string $modelNamespace = 'App\Model\\';
|
||||||
|
|
||||||
public string $controllerPath = APP_PATH . 'app/AutoController/';
|
public string $controllerPath = APP_PATH . 'app/Controller/';
|
||||||
public string $controllerNamespace = 'App\\AutoController\\';
|
public string $controllerNamespace = 'App\\Controller\\';
|
||||||
|
|
||||||
|
|
||||||
public static array $createSqls = [];
|
public static array $createSqls = [];
|
||||||
|
|||||||
+2
-2
@@ -28,8 +28,8 @@ abstract class GiiBase
|
|||||||
public string $modelPath = APP_PATH . 'app/Model/';
|
public string $modelPath = APP_PATH . 'app/Model/';
|
||||||
public string $modelNamespace = 'App\Model\\';
|
public string $modelNamespace = 'App\Model\\';
|
||||||
|
|
||||||
public string $controllerPath = APP_PATH . 'app/AutoController/';
|
public string $controllerPath = APP_PATH . 'app/Controller/';
|
||||||
public string $controllerNamespace = 'App\\AutoController\\';
|
public string $controllerNamespace = 'App\\Controller\\';
|
||||||
|
|
||||||
public ?string $module = null;
|
public ?string $module = null;
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -90,7 +90,7 @@ use Rpc\\' . ucfirst($name) . 'RpcInterface;
|
|||||||
|
|
||||||
|
|
||||||
#[JsonRpc(service: \'' . $name . '\', version: \'2.0\')]
|
#[JsonRpc(service: \'' . $name . '\', version: \'2.0\')]
|
||||||
class ' . ucfirst($name) . 'RpcConsumer extends AutoController implements ' . ucfirst($name) . 'RpcInterface
|
class ' . ucfirst($name) . 'RpcConsumer extends Controller implements ' . ucfirst($name) . 'RpcInterface
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -47,7 +47,7 @@ use Kiri\Core\Json;
|
|||||||
* Class ' . $managerName . 'Consumer
|
* Class ' . $managerName . 'Consumer
|
||||||
* @package App\Client\Rpc
|
* @package App\Client\Rpc
|
||||||
*/
|
*/
|
||||||
class ' . $managerName . 'Producer extends AutoController
|
class ' . $managerName . 'Producer extends Controller
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user