更新
This commit is contained in:
parent
15b0f7fa9f
commit
d2d1a0ee06
@ -209,7 +209,7 @@ class User extends BaseModel
|
||||
public function getBrigadeNameAttr($value)
|
||||
{
|
||||
if($this->brigade){
|
||||
return Db::name('geo_brigade')->where('id' ,'in' ,explode(',',$value))->field('brigade_name')->select()->toArray();
|
||||
return Db::name('geo_brigade')->where('id' ,'in' ,explode(',',$this->brigade))->field('brigade_name')->select()->toArray();
|
||||
}else{
|
||||
return [];
|
||||
}
|
||||
|
2
vendor/ebaoquan/junziqian_sdk
vendored
2
vendor/ebaoquan/junziqian_sdk
vendored
@ -1 +1 @@
|
||||
Subproject commit 1294ea49ff9ecc4532821f8798304816cbf8dd74
|
||||
Subproject commit 9acc82cd23d807280ddd29df2117e7890094d049
|
Loading…
x
Reference in New Issue
Block a user