load()->model('coupon');
load()->classs('coupon');
load()->classs('coupon_auto');

 

 

 

$data_task['cid']=$cid=create_cid(array('title'=>$_GPC['k_title'],'time_limit[start]'=>$kaquan_start_time,'time_limit[end]'=>$kaquan_end_time,'time_type'=>1,'limit'=>1,'get_limit'=>1,'brand_name'=>$_GPC['shangjia_title'],'sub_title'=>$_GPC['k_two_title']));