|
|
@@ -7,16 +7,19 @@
|
|
|
namespace common\components;
|
|
|
|
|
|
use linslin\yii2\curl;
|
|
|
+use Yii;
|
|
|
class goWs
|
|
|
{
|
|
|
public static function bindUid($uid,$clientId)
|
|
|
{
|
|
|
$path = '/bind?uid='.$uid.'&clientId='.$clientId;
|
|
|
+ Yii::info("bindUid path: ".$path);
|
|
|
self::request($path);
|
|
|
}
|
|
|
|
|
|
public static function sendToUid($uid,$msg){
|
|
|
$path = '/send?uid='.$uid.'&msg='.$msg;
|
|
|
+ Yii::info("sendToUid path: ".$path);
|
|
|
self::request($path);
|
|
|
}
|
|
|
|