|
...
|
...
|
@@ -73,7 +73,7 @@ class UpdateRoute extends Command |
|
|
|
foreach ($lists as $v){
|
|
|
|
echo date('Y-m-d H:i:s') . '关键字id:'.$v['id'] . PHP_EOL;
|
|
|
|
$tag = "-tag";
|
|
|
|
if (!substr($v['route'], -strlen($tag)) === $tag) {
|
|
|
|
if (!(substr($v['route'], -strlen($tag)) === $tag)) {
|
|
|
|
echo date('Y-m-d H:i:s') . '拼接'.$tag . PHP_EOL;
|
|
|
|
$route = $v['route'].$tag;
|
|
|
|
// 如果不是以 '-tag' 结尾,则拼接上 '-tag'
|
...
|
...
|
|