1.提交缺失的东西
This commit is contained in:
@ -60,7 +60,7 @@ class SignController extends BaseApiController
|
|||||||
* @number 1
|
* @number 1
|
||||||
*/
|
*/
|
||||||
public function sign(){
|
public function sign(){
|
||||||
$result = $this->validate(['user_id'=>$this->userId],'app\api\validate\Sign');
|
$result = $this->validate(['user_id'=>$this->userId],'app\api\validate\SignValidate');
|
||||||
if($result === true){
|
if($result === true){
|
||||||
$result = SignLogic::sign($this->userId);
|
$result = SignLogic::sign($this->userId);
|
||||||
if(is_array($result)){
|
if(is_array($result)){
|
||||||
|
|||||||
Reference in New Issue
Block a user