123456789101112131415161718192021222324252627282930313233 |
- <?php
- /**
- * DeviceUtils.php UTF-8
- * 设备面板
- *
- * @date : 2018/4/27 21:28
- *
- * @license 这不是一个自由软件,未经授权不许任何使用和传播。
- * @author : wuyonghong <wyh@huosdk.com>
- * @version : HUOSDK 8.0
- */
- namespace huolib\utils;
- use huolib\status\DeviceStatus;
- class DeviceUtils {
- /**
- * 校验SDK订单
- *
- * @param array $device_data
- *
- * @return int
- */
- public static function checkDevice($device_data = []) {
- if (empty($device_data)) {
- return DeviceStatus::INVALID_PARAMS;
- }
- return DeviceStatus::NO_ERROR;
- }
- }
|