Systempayment.php 592 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. namespace app\admin\model;
  3. use think\Model;
  4. /**
  5. * 用户管理
  6. */
  7. class Systempayment extends Model
  8. {
  9. public function getSystempayment()
  10. {
  11. $result = $this->select();
  12. return $result;
  13. }
  14. public function findSystempayment($systemPayment_id)
  15. {
  16. $result = $this->where(['systemPayment_id'=>$systemPayment_id])->find();
  17. return $result;
  18. }
  19. public function updateSystempayment($systemPayment_id, $data)
  20. {
  21. $result = $this->where(['systemPayment_id'=>$systemPayment_id])->update($data);
  22. return $result;
  23. }
  24. }