接触蘑菇极狐im
This commit is contained in:
22
app/product/controller/OpenAccountLimit.php
Normal file
22
app/product/controller/OpenAccountLimit.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace app\product\controller;
|
||||
|
||||
use fastphp\base\Controller;
|
||||
|
||||
class OpenAccountLimit extends Controller
|
||||
{
|
||||
public function openTxLimit(){
|
||||
$data = json_decode(file_get_contents("php://input"),true);
|
||||
if(!$data){
|
||||
die;
|
||||
}
|
||||
// dump($data);die;
|
||||
if ($data['productId'] == 18) {
|
||||
$url = "http://rds-api.juip.com/api/agent/openIM/account/".$data['account'];
|
||||
} elseif ($data['productId'] == 29) {
|
||||
$url = "http://124.236.113.166:18702/api/agent/openIM/apikey/80cf4f64e990b78a9fc5eb/account/".$data['account'];
|
||||
}
|
||||
echo json_encode(['Code'=>30000,]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user