plugins/exchange/forms/exchange/validate/FacadeAdmin.php
@@ -45,10 +45,10 @@ $this->validate->hasExpireAfter();//是否到期 } public function cover($mall_id, $code) public function cover($mall_id, $code, $card_no) { $this->validate->setMallId($mall_id); $this->validate->setCodeModel($code); $this->validate->setCodeModel($code,$card_no); $this->validate->hasCode(); $this->validate->hasExchangeUser();//用户是否合法 $this->validate->setLibraryModel($this->validate->codeModel->library_id);