We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 742d31d commit 12e680bCopy full SHA for 12e680b
src/curd/service/CurdService.php
@@ -209,7 +209,7 @@ protected function setArg()
209
//普通模式
210
if (!$this->addon) {
211
$this->controllerNamespace = 'app\\'.$this->module.'\\controller' . $nameSpace;
212
- $this->baseController = '\\app\\common\\controller\\'.$this->module;
+ $this->baseController = '\\app\\common\\controller\\'.ucfirst($this->module);
213
$this->modelNamespace = "app\\{$this->module}\\model".($modelArr?'\\'.$modelArr[0]:'');
214
$this->validateNamespace = "app\\{$this->module}\\validate".($modelArr?'\\'.$modelArr[0]:'');
215
$this->fileList = [
0 commit comments