|
|
@@ -147,9 +147,9 @@ class ClearClass extends BaseClass
|
|
|
}
|
|
|
|
|
|
//完整信息 shish 20210625
|
|
|
- public static function getSaleInfo($id)
|
|
|
+ public static function getSaleInfo($orderSn)
|
|
|
{
|
|
|
- $info = self::getById($id);
|
|
|
+ $info = self::getByCondition(['orderSn' => $orderSn], true);
|
|
|
if (empty($info)) {
|
|
|
return $info;
|
|
|
}
|
|
|
@@ -164,9 +164,9 @@ class ClearClass extends BaseClass
|
|
|
}
|
|
|
|
|
|
//完整信息 shish 20210625
|
|
|
- public static function getCgInfo($id)
|
|
|
+ public static function getCgInfo($orderSn)
|
|
|
{
|
|
|
- $info = self::getById($id);
|
|
|
+ $info = self::getByCondition(['orderSn' => $orderSn], true);
|
|
|
if (empty($info)) {
|
|
|
return $info;
|
|
|
}
|