<?php
$command = array(
'sys_type' => 'PIS',
'list_type' => 'server_online',
'list_id' => 1234567,
'opcode' => 'recv',
'cksum' => strtoupper(md5('PIS'.'server_online1234567recv')),
'aop' => '',
'operation' => array('CHANGE_DNS'),
'dev_table' => 'server_info',
'attrs' => array('pis1'=>array(
'country' => 'China',
'area'=>'',
'city'=>'',
'wh'=>'TC',
'other'=>'',
)),
'args' => array('pis1'=>array(
'id' => 333,
'rdtype' => 'a',
'unusual_chk' =>array('status'=>0),
'power' => 2,
'add' => array(array(
'domain'=>'pistest01.testing.vm.baidu.com.',
'ttl'=>3600,
'class'=>'in',
'rdata'=>'10.22.33.11',
)),
)),
);
print json_encode($command);
preferences:
35.21 ms | 402 KiB | 5 Q