This commit is contained in:
2023-08-21 16:16:30 +08:00
parent 52ec411526
commit 54e267ca8d
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -31,8 +31,8 @@ class Gii
public string $modelPath = APP_PATH . 'app/Model/';
public string $modelNamespace = 'App\Model\\';
public string $controllerPath = APP_PATH . 'app/AutoController/';
public string $controllerNamespace = 'App\\AutoController\\';
public string $controllerPath = APP_PATH . 'app/Controller/';
public string $controllerNamespace = 'App\\Controller\\';
public static array $createSqls = [];
+2 -2
View File
@@ -28,8 +28,8 @@ abstract class GiiBase
public string $modelPath = APP_PATH . 'app/Model/';
public string $modelNamespace = 'App\Model\\';
public string $controllerPath = APP_PATH . 'app/AutoController/';
public string $controllerNamespace = 'App\\AutoController\\';
public string $controllerPath = APP_PATH . 'app/Controller/';
public string $controllerNamespace = 'App\\Controller\\';
public ?string $module = null;
+1 -1
View File
@@ -90,7 +90,7 @@ use Rpc\\' . ucfirst($name) . 'RpcInterface;
#[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
View File
@@ -47,7 +47,7 @@ use Kiri\Core\Json;
* Class ' . $managerName . 'Consumer
* @package App\Client\Rpc
*/
class ' . $managerName . 'Producer extends AutoController
class ' . $managerName . 'Producer extends Controller
{