...
|
...
|
@@ -660,7 +660,7 @@ class Index extends Api |
|
|
->join('seller s', 'r.user_id=s.user_id')
|
|
|
->join('agreement a', 'a.seller_id=s.id')
|
|
|
->where('a.user_id', $UserId)
|
|
|
->where('status',1)
|
|
|
->where('a.status',1)
|
|
|
->find();
|
|
|
if (empty($IsAgreement)) {
|
|
|
$this->error('请先签订协议', '', '99998');
|
...
|
...
|
|