Model_fullorderpaypal.php 529 B

12345678910111213141516171819
  1. <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
  2. class Model_fullorderpaypal extends Lin_Model
  3. {
  4. function __construct(){
  5. parent::__construct();
  6. $this->load->database();
  7. $this->table = 'fullorderpaypal';
  8. $this->load_table('fullorderpaypal');
  9. }
  10. /** 通过API查找 */
  11. public function get_orderinfo($orderinfo)
  12. {
  13. return $this->find("orderinfo = '$orderinfo'");
  14. }
  15. public function get_waybill($waybill)
  16. {
  17. return $this->find("waybill = '$waybill'");
  18. }
  19. } //end class