update version
This commit is contained in:
@@ -101,7 +101,7 @@ class ApiController extends Controller {
|
||||
]
|
||||
];
|
||||
$res = json_decode(file_get_contents($sync->data, false, stream_context_create($options)), true);
|
||||
if ($res['status'] == 1000) {
|
||||
if (in_array($res['status'], [1000, 10000])) {
|
||||
$modelRes = new \app\models\ResponseReq();
|
||||
$modelRes->create(json_encode($res));
|
||||
$value->delete();
|
||||
|
||||
Reference in New Issue
Block a user