no message
This commit is contained in:
parent
9321eca62f
commit
7a13411948
@ -127,7 +127,7 @@ class GithubController
|
|||||||
$aShip = $oShip->toArray();
|
$aShip = $oShip->toArray();
|
||||||
|
|
||||||
$aGoodRand = ModelGoodPool::_rand($aArticle["ship_code"]);
|
$aGoodRand = ModelGoodPool::_rand($aArticle["ship_code"]);
|
||||||
$sGoodRand = ModelGoodPool::_goodToGithub($aGoodRand["good"]);
|
$sGoodRand = ModelGoodPool::_goodToGithub($aGoodRand["good"] ?? []);
|
||||||
$ex["good_rand"] = $sGoodRand;
|
$ex["good_rand"] = $sGoodRand;
|
||||||
|
|
||||||
$sGoodShip = ModelGoodPool::_goodToGithub($aShip["good"]);
|
$sGoodShip = ModelGoodPool::_goodToGithub($aShip["good"]);
|
||||||
|
|||||||
@ -47,6 +47,11 @@ class GoodPool extends Model
|
|||||||
|
|
||||||
public static function _goodToGithub($sGood, $bEnter = true)
|
public static function _goodToGithub($sGood, $bEnter = true)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
if (!$sGood) {
|
||||||
|
return '';
|
||||||
|
}
|
||||||
|
|
||||||
$aGood = json_decode($sGood);
|
$aGood = json_decode($sGood);
|
||||||
|
|
||||||
$str = "";
|
$str = "";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user