12345678910111213141516171819 |
- <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
- class Model_fullorderpaypal extends Lin_Model
- {
- function __construct(){
- parent::__construct();
- $this->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
|