|
@@ -204,6 +204,11 @@ class Api
|
|
|
|
|
|
private function parse($url, $project, $rule, $param, $col, $set, $push)
|
|
|
{
|
|
|
+ $test = Dever::input('test');
|
|
|
+ if ($test) {
|
|
|
+ $parse = new Parse($url, $project, $rule, $param, $col, $set, $push);
|
|
|
+ return $parse->get();
|
|
|
+ }
|
|
|
try {
|
|
|
$parse = new Parse($url, $project, $rule, $param, $col, $set, $push);
|
|
|
return $parse->get();
|