Ejemplo n.º 1
0
 function load()
 {
     global $model_list;
     $type = $this->_charge_type;
     $response = $this->user_charge();
     $model_id = $this->_model_id;
     if ($type == 'payitem_charge') {
         PayitemClass::dispose_order($this->_order_id);
     } else {
         if ($model_id) {
             $model_dir = $model_list[$this->_model_id]['model_dir'];
             $m = $model_dir . "_pay_return_class";
             $pay_obj = new $m($type, $this->_model_id, $this->_uid, $this->_obj_id, $this->_order_id, $this->_total_fee);
             $response = $pay_obj->order_charge();
         }
     }
     return $response;
 }