|
|
|
|
@ -235,9 +235,22 @@ class infofix extends CI_Controller
|
|
|
|
|
* 列举使用旧版构建工具的信息,用于批量替换更新。
|
|
|
|
|
* @param mixed $site
|
|
|
|
|
*/
|
|
|
|
|
public function list_use_hb($site)
|
|
|
|
|
public function list_use_hb()
|
|
|
|
|
{
|
|
|
|
|
$site = $this->input->get('site');
|
|
|
|
|
$api = $this->input->get('api');
|
|
|
|
|
$rs = $this->infoContents_model->list_use_hb($site);
|
|
|
|
|
if ($api) {
|
|
|
|
|
$_rs = array();
|
|
|
|
|
foreach ($rs as $value) {
|
|
|
|
|
array_push($_rs, array(
|
|
|
|
|
'id' => $value->ic_id,
|
|
|
|
|
'data' => $value->ic_url,
|
|
|
|
|
'status' => 0,
|
|
|
|
|
));
|
|
|
|
|
}
|
|
|
|
|
$rs = $_rs;
|
|
|
|
|
}
|
|
|
|
|
echo json_encode($rs);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ -247,7 +260,7 @@ class infofix extends CI_Controller
|
|
|
|
|
*/
|
|
|
|
|
public function migrate_hb($dev = 'prod')
|
|
|
|
|
{
|
|
|
|
|
$ic_id = $this->input->get('ic_id');
|
|
|
|
|
$ic_id = $this->input->get('id');
|
|
|
|
|
// 本地测试参数
|
|
|
|
|
$api = 'https://hmk.arachina.com/beta/3733/server_render2';
|
|
|
|
|
if ($dev == 'dev') {
|
|
|
|
|
|