Skip to content

Commit

Permalink
新增接口
Browse files Browse the repository at this point in the history
  • Loading branch information
yunwuxin committed Aug 26, 2020
1 parent f47ed79 commit 62fe352
Show file tree
Hide file tree
Showing 22 changed files with 347 additions and 0 deletions.
40 changes: 40 additions & 0 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@
use think\api\request\ExchangeCurrency;
use think\api\request\ExchangeQuery;
use think\api\request\ExpIndex;
use think\api\request\ExpressAsyc;
use think\api\request\ExpressCompany;
use think\api\request\ExpressDot;
use think\api\request\ExpressExpList;
use think\api\request\ExpressQuery;
use think\api\request\ExpressSync;
use think\api\request\IdcardAuth;
use think\api\request\IdcardIndex;
use think\api\request\IdcardQuery;
Expand All @@ -30,6 +35,10 @@
use think\api\request\JokeLatest;
use think\api\request\JokeQuery;
use think\api\request\JokeRand;
use think\api\request\LuozNewEnergy;
use think\api\request\LuozQuery;
use think\api\request\LuozSupport;
use think\api\request\LuozTimes;
use think\api\request\NewsToutiao;
use think\api\request\OcrBankcard;
use think\api\request\OcrBusinessLicense;
Expand All @@ -51,9 +60,20 @@
use think\api\request\UnnStatus;
use think\api\request\Verifybankcard3Query;
use think\api\request\Verifybankcard4Query;
use think\api\request\WeatherArea;
use think\api\request\WeatherAreaForecast15;
use think\api\request\WeatherAreaForecast24;
use think\api\request\WeatherAreaForecast40;
use think\api\request\WeatherAreaForecast7;
use think\api\request\WeatherAreaHistory;
use think\api\request\WeatherAreaId;
use think\api\request\WeatherCityList;
use think\api\request\WeatherCoords;
use think\api\request\WeatherIp;
use think\api\request\WeatherQuery;
use think\api\request\WeatherScenic;
use think\api\request\WeatherWids;
use think\api\request\WeatherZip;
use think\api\request\WoolWcheck;
use think\api\request\WoolWtag;

Expand All @@ -76,6 +96,11 @@
* @method ExchangeConvert exchangeConvert()
* @method ExpIndex expIndex()
* @method ExpressQuery expressQuery()
* @method ExpressSync expressSync()
* @method ExpressAsyc expressAsyc()
* @method ExpressCompany expressCompany()
* @method ExpressExpList expressExpList()
* @method ExpressDot expressDot()
* @method IdcardQuery idcardQuery()
* @method IdcardIndex idcardIndex()
* @method IdcardAuth idcardAuth()
Expand All @@ -85,6 +110,10 @@
* @method JokeQuery jokeQuery()
* @method JokeLatest jokeLatest()
* @method JokeRand jokeRand()
* @method LuozQuery luozQuery()
* @method LuozSupport luozSupport()
* @method LuozTimes luozTimes()
* @method LuozNewEnergy luozNewEnergy()
* @method NewsToutiao newsToutiao()
* @method OcrIdcard ocrIdcard()
* @method OcrIdOcr ocrIdOcr()
Expand All @@ -106,6 +135,17 @@
* @method UnnStatus unnStatus()
* @method Verifybankcard3Query verifybankcard3Query()
* @method Verifybankcard4Query verifybankcard4Query()
* @method WeatherCoords weatherCoords()
* @method WeatherIp weatherIp()
* @method WeatherArea weatherArea()
* @method WeatherAreaForecast24 weatherAreaForecast24()
* @method WeatherAreaForecast7 weatherAreaForecast7()
* @method WeatherAreaForecast15 weatherAreaForecast15()
* @method WeatherAreaForecast40 weatherAreaForecast40()
* @method WeatherAreaHistory weatherAreaHistory()
* @method WeatherScenic weatherScenic()
* @method WeatherZip weatherZip()
* @method WeatherAreaId weatherAreaId()
* @method WeatherQuery weatherQuery()
* @method WeatherWids weatherWids()
* @method WeatherCityList weatherCityList()
Expand Down
16 changes: 16 additions & 0 deletions src/request/ExpressAsyc.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php

namespace think\api\request;

use think\api\Request;

/**
* @method $this withCom($value)
* @method $this withNu($value)
* @method $this withCallBackUrl($value)
* @method $this withOutCode($value)
* @method $this withPhone($value)
*/
class ExpressAsyc extends Request
{
}
12 changes: 12 additions & 0 deletions src/request/ExpressCompany.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php

namespace think\api\request;

use think\api\Request;

/**
* @method $this withNu($value)
*/
class ExpressCompany extends Request
{
}
14 changes: 14 additions & 0 deletions src/request/ExpressDot.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

namespace think\api\request;

use think\api\Request;

/**
* @method $this withSiteName($value)
* @method $this withAddr($value)
* @method $this withContactInfo($value)
*/
class ExpressDot extends Request
{
}
15 changes: 15 additions & 0 deletions src/request/ExpressExpList.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php

namespace think\api\request;

use think\api\Request;

/**
* @method $this withExpName($value)
* @method $this withMaxSize($value)
* @method $this withPage($value)
*/
class ExpressExpList extends Request
{
public $uri = 'express/exp_list';
}
14 changes: 14 additions & 0 deletions src/request/ExpressSync.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

namespace think\api\request;

use think\api\Request;

/**
* @method $this withCom($value)
* @method $this withNu($value)
* @method $this withPhone($value)
*/
class ExpressSync extends Request
{
}
16 changes: 16 additions & 0 deletions src/request/LuozNewEnergy.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php

namespace think\api\request;

use think\api\Request;

/**
* @method $this withCarNumber($value)
* @method $this withCarCode($value)
* @method $this withCarEngineCode($value)
* @method $this withCarType($value)
*/
class LuozNewEnergy extends Request
{
public $uri = 'luoz/new_energy';
}
16 changes: 16 additions & 0 deletions src/request/LuozQuery.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php

namespace think\api\request;

use think\api\Request;

/**
* @method $this withCarNumber($value)
* @method $this withCarCode($value)
* @method $this withCarEngineCode($value)
* @method $this withJgjId($value)
* @method $this withCarType($value)
*/
class LuozQuery extends Request
{
}
13 changes: 13 additions & 0 deletions src/request/LuozSupport.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php

namespace think\api\request;

use think\api\Request;

/**
* @method $this withPreCarNum($value)
* @method $this withProvince($value)
*/
class LuozSupport extends Request
{
}
14 changes: 14 additions & 0 deletions src/request/LuozTimes.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

namespace think\api\request;

use think\api\Request;

/**
* @method $this withCarNumber($value)
* @method $this withCarCode($value)
* @method $this withCarEngineCode($value)
*/
class LuozTimes extends Request
{
}
1 change: 1 addition & 0 deletions src/request/UnnStatus.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

/**
* @method $this withMobile($value)
* @method $this withOrderNo($value)
*/
class UnnStatus extends Request
{
Expand Down
18 changes: 18 additions & 0 deletions src/request/WeatherArea.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php

namespace think\api\request;

use think\api\Request;

/**
* @method $this withArea($value)
* @method $this withAreaCode($value)
* @method $this withNeedMoreDay($value)
* @method $this withNeedIndex($value)
* @method $this withNeedHourData($value)
* @method $this withNeed3HourForcast($value)
* @method $this withNeedAlarm($value)
*/
class WeatherArea extends Request
{
}
14 changes: 14 additions & 0 deletions src/request/WeatherAreaForecast15.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

namespace think\api\request;

use think\api\Request;

/**
* @method $this withArea($value)
* @method $this withAreaCode($value)
*/
class WeatherAreaForecast15 extends Request
{
public $uri = 'weather/area_forecast15';
}
14 changes: 14 additions & 0 deletions src/request/WeatherAreaForecast24.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

namespace think\api\request;

use think\api\Request;

/**
* @method $this withArea($value)
* @method $this withAreaCode($value)
*/
class WeatherAreaForecast24 extends Request
{
public $uri = 'weather/area_forecast24';
}
14 changes: 14 additions & 0 deletions src/request/WeatherAreaForecast40.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

namespace think\api\request;

use think\api\Request;

/**
* @method $this withArea($value)
* @method $this withAreaCode($value)
*/
class WeatherAreaForecast40 extends Request
{
public $uri = 'weather/area_forecast40';
}
15 changes: 15 additions & 0 deletions src/request/WeatherAreaForecast7.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php

namespace think\api\request;

use think\api\Request;

/**
* @method $this withArea($value)
* @method $this withAreaCode($value)
* @method $this withNeed3HourForcast($value)
*/
class WeatherAreaForecast7 extends Request
{
public $uri = 'weather/area_forecast7';
}
17 changes: 17 additions & 0 deletions src/request/WeatherAreaHistory.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?php

namespace think\api\request;

use think\api\Request;

/**
* @method $this withArea($value)
* @method $this withAreaCode($value)
* @method $this withMonth($value)
* @method $this withStartDate($value)
* @method $this withEndDate($value)
*/
class WeatherAreaHistory extends Request
{
public $uri = 'weather/area_history';
}
13 changes: 13 additions & 0 deletions src/request/WeatherAreaId.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php

namespace think\api\request;

use think\api\Request;

/**
* @method $this withArea($value)
*/
class WeatherAreaId extends Request
{
public $uri = 'weather/area_id';
}
18 changes: 18 additions & 0 deletions src/request/WeatherCoords.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php

namespace think\api\request;

use think\api\Request;

/**
* @method $this withLng($value)
* @method $this withLat($value)
* @method $this withNeedMoreDay($value)
* @method $this withNeedIndex($value)
* @method $this withNeedHourData($value)
* @method $this withNeed3HourForcast($value)
* @method $this withNeedAlarm($value)
*/
class WeatherCoords extends Request
{
}
17 changes: 17 additions & 0 deletions src/request/WeatherIp.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?php

namespace think\api\request;

use think\api\Request;

/**
* @method $this withIp($value)
* @method $this withNeedMoreDay($value)
* @method $this withNeedIndex($value)
* @method $this withNeedHourData($value)
* @method $this withNeed3HourForcast($value)
* @method $this withNeedAlarm($value)
*/
class WeatherIp extends Request
{
}
Loading

0 comments on commit 62fe352

Please sign in to comment.