no message
This commit is contained in:
parent
111e9d6f48
commit
d543726d4b
@ -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;
|
||||||
|
|||||||
@ -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`
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user