load->database(); $this->table = 'fullorderpaypal'; $this->load_table('fullorderpaypal'); } /** 通过API查找 */ public function get_orderinfo($orderinfo) { return $this->find("orderinfo = '$orderinfo'"); } public function get_waybill($waybill) { return $this->find("waybill = '$waybill'"); } } //end class