Commit 8dec9323 by doszhang

dos

parent 5a29ea73
...@@ -15,7 +15,7 @@ return array( ...@@ -15,7 +15,7 @@ return array(
'DB_TYPE' => 'mysql', 'DB_TYPE' => 'mysql',
'DB_HOST' => 'localhost', 'DB_HOST' => 'localhost',
'DB_PORT' => '3306', 'DB_PORT' => '3306',
'DB_NAME' => '', // <--- 修改这里 'DB_NAME' => 'dev_pingan_20200617_maruko', // <--- 修改这里
'DB_USER' => 'dev', // <--- 修改这里 'DB_USER' => 'dev', // <--- 修改这里
'DB_PWD' => '1q2w3e', // <--- 修改这里 'DB_PWD' => '1q2w3e', // <--- 修改这里
'DB_PREFIX' => '', 'DB_PREFIX' => '',
......
...@@ -19,6 +19,8 @@ class IndexController extends Controller ...@@ -19,6 +19,8 @@ class IndexController extends Controller
public function index() public function index()
{ {
$r = M('join_num')->where('id=1')->setInc('num');
var_dump($r);
$this->display(); $this->display();
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment