no message

This commit is contained in:
hellcat 2025-07-15 17:44:26 +08:00
parent 111e9d6f48
commit d543726d4b
2 changed files with 12 additions and 10 deletions

View File

@ -61,18 +61,20 @@ class Github {
$sShip = $oHttp->send($sMasterUrl); $sShip = $oHttp->send($sMasterUrl);
$aShip = json_decode($sShip, true); $aShip = json_decode($sShip, true);
$aGood = json_decode($aShip["good"], true);
// tomd($aShip, 1);
$sGoodStr = ""; $sGoodStr = "";
$i = 0; if (isset($aShip["good"])) {
foreach ($aGood as $row) { $aGood = json_decode($aShip["good"], true);
if ($i !== 0) { $sGoodStr = "";
$sGoodStr .= " $i = 0;
foreach ($aGood as $row) {
if ($i !== 0) {
$sGoodStr .= "
"; ";
}
$sGoodStr .= $row;
$i++;
} }
$sGoodStr .= $row;
$i++;
} }
$aShip["good_str"] = $sGoodStr; $aShip["good_str"] = $sGoodStr;

View File

@ -22,7 +22,7 @@ class Db extends Base {
public function me() public function me()
{ {
$str = " $str = "
添加字段ALTER Table `ship` ADD `good_test` TEXT DEFAULT NULL AFTER `api_huodong` 添加字段ALTER TABLE `ship` ADD `good_test` TEXT DEFAULT NULL AFTER `api_huodong`
删除字段ALTER TABLE `ship` DROP COLUMN `good_test` 删除字段ALTER TABLE `ship` DROP COLUMN `good_test`