| 123456789101112131415161718192021 | 
							- <?php
 
- namespace app\common\service;
 
- use app\common\model\Contract;
 
- class ContractService extends Service
 
- {
 
-     public function create($param = [])
 
-     {
 
-         $this->autoParams($param);
 
-         return Contract::create($param);
 
-     }
 
-     public function update($param = [])
 
-     {
 
-         $this->autoParams($param);
 
-         return Contract::update($param);
 
-     }
 
- }
 
 
  |