Commit f26b1429 by doszhang

dos

parent b6137db2
......@@ -13,7 +13,7 @@ return array(
'AUTH_CLIENT_ID' => 'zhida_app',
'AUTH_CLIENT_PASSWORD' => 'izhida',
/* CDN路径配置。配置之后可以在模版文件中使用__CDN__ */
'__CDN__' => 'http://static3.iacode.cn/cdn1/pingan-maruko/v1.0.0',
'__CDN__' => 'http://static3.iacode.cn/cdn1/pingan-maruko/v1.0.1',
// '__CDN__' => '/Public/static', // @readme <-- 上线时修改这里
'URL_MODEL' => 3,
'STORAGE_PATH' => WEB_ROOT_PATH . '/Data/Storage',
......
......@@ -162,32 +162,4 @@ class IndexController extends Controller
));
return;
}
public function clear(){
M('prize')->where('1=1')->save(array(
'add_time'=>'',
'is_get' => 0,
'uid' => 0
));
M('user')->where('1=1')->save(array(
'prize_type'=> 0,
'name' => '',
'tel' => '',
'address' => ''
));
}
public function ceshi()
{
for ($i = 0; $i < 20; $i++) {
M('Prize')->add(array(
'prize_type' => '1',
'prize_name' => '樱桃小丸子系列CP礼盒',
));
}
}
public function cookie()
{
SignedCookie::set_cookie($this->cookie_uid_key, 'o7afuwqH_VbuzStmdDkQlW6BqJNo', C('cookie_sign'), 86400 * 60);
}
}
\ 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