Commit 07d5e775 by 王召彬

Merge branch 'ft-oem' into test

parents e6aa3495 3bad700f
......@@ -31,7 +31,7 @@ class CfgCenter
*/
public static function getByUser($keyName, \Hdll\Services\Common\Entity\User $user)
{
if($user->getOemId() !== null) { // oemId有可能等于0
if( is_numeric($user->getOemId()) ) { // oemId有可能等于0
return self::getByOemId($keyName, $user->getOemId());
} else if($user->getStoreId()) {
return self::getByStoreId($keyName, $user->getStoreId());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment