|
@@ -22,6 +22,7 @@ class Ajax extends Frontend
|
|
|
*/
|
|
*/
|
|
|
public function lang()
|
|
public function lang()
|
|
|
{
|
|
{
|
|
|
|
|
+ $this->request->get(['callback' => 'define']);
|
|
|
$header = ['Content-Type' => 'application/javascript'];
|
|
$header = ['Content-Type' => 'application/javascript'];
|
|
|
if (!config('app_debug')) {
|
|
if (!config('app_debug')) {
|
|
|
$offset = 30 * 60 * 60 * 24; // 缓存一个月
|
|
$offset = 30 * 60 * 60 * 24; // 缓存一个月
|