<?php
namespace app\index\controller;
user think\Env;
class Index
{
public function index()
{
dump(Env::get('email'));
}
}
namespace app\index\controller;
user think\Env;
class Index
{
public function index()
{
dump(Env::get('email'));
}
}
2017-06-24
是不是很無聊?這些都要在實際開發當中應用的,大家勤動手,記住有這些機制,有個印象就好,到時候到實際的開發當中根據實際的需求能夠想到就行了!
2017-06-23