Skip to content

Commit 12e680b

Browse files
authored
Update CurdService.php
1 parent 742d31d commit 12e680b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/curd/service/CurdService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ protected function setArg()
209209
//普通模式
210210
if (!$this->addon) {
211211
$this->controllerNamespace = 'app\\'.$this->module.'\\controller' . $nameSpace;
212-
$this->baseController = '\\app\\common\\controller\\'.$this->module;
212+
$this->baseController = '\\app\\common\\controller\\'.ucfirst($this->module);
213213
$this->modelNamespace = "app\\{$this->module}\\model".($modelArr?'\\'.$modelArr[0]:'');
214214
$this->validateNamespace = "app\\{$this->module}\\validate".($modelArr?'\\'.$modelArr[0]:'');
215215
$this->fileList = [

0 commit comments

Comments
 (0)