|
@@ -14,7 +14,12 @@ class OrderParamService
|
|
|
{
|
|
|
public static function create($order_id,$gxhp){
|
|
|
try{
|
|
|
- OrderParam::create(compact('order_id','gxhp'));
|
|
|
+ $other_param = explode('_',$gxhp);
|
|
|
+ $appid = isset($other_param[0])?$other_param[0]:0;
|
|
|
+ $data_hour_key = isset($other_param[1])?$other_param[1]:'';
|
|
|
+ $bid = isset($other_param[2])?$other_param[2]:0;
|
|
|
+ $times = isset($other_param[3])?$other_param[3]:0;
|
|
|
+ OrderParam::create(compact('order_id','gxhp','appid','data_hour_key','bid','times'));
|
|
|
}catch (\Exception $e){}
|
|
|
}
|
|
|
}
|