소스 검색

我的交易列表

afa 8 달 전
부모
커밋
88f76aac0b
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      application/api/controller/Teac.php

+ 0 - 2
application/api/controller/Teac.php

@@ -184,8 +184,6 @@ class Teac extends Api
     // 我的交易列表
     public function getUserTeacList(ProductTeac $productTeac)
     {
-        $type_id = $this->request->post('type_id/d', 0);
-        if(!in_array($type_id, [ProductTeac::Buying, ProductTeac::Sell])) $this->error('类型错误');
         $list = $productTeac::where('user_id', $this->auth->id)
              ->where('status', ProductTeac::Normal)->where('type_id', $type_id)
              ->order('create_time desc')