rabb
This commit is contained in:
13
app/common/model/MqLog.php
Normal file
13
app/common/model/MqLog.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace app\common\model;
|
||||
|
||||
use think\Model;
|
||||
|
||||
/**
|
||||
* 错误日志
|
||||
*/
|
||||
class MqLog extends Model
|
||||
{
|
||||
protected $prefix = 'tb_';
|
||||
}
|
||||
12
app/common/model/OrderInfo.php
Normal file
12
app/common/model/OrderInfo.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace app\common\model;
|
||||
|
||||
use think\Model;
|
||||
|
||||
/**
|
||||
* 订单
|
||||
*/
|
||||
class OrderInfo extends Model
|
||||
{
|
||||
}
|
||||
19
app/common/model/RabbitMqConfig.php
Normal file
19
app/common/model/RabbitMqConfig.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace app\common\model;
|
||||
|
||||
use ba\Random;
|
||||
use think\Model;
|
||||
|
||||
/**
|
||||
* 错误日志
|
||||
*/
|
||||
class RabbitMqConfig extends Model
|
||||
{
|
||||
public static $host = '121.40.109.122';
|
||||
public static $port = '5672';
|
||||
public static $user = 'chaozg';
|
||||
public static $password = 'chaozg123';
|
||||
|
||||
public static $queue_t = 'dev';
|
||||
}
|
||||
Reference in New Issue
Block a user