Authored by xiaofeng.yao@yoho.cn

修改测试环境变量

... ... @@ -455,6 +455,10 @@ class LiveController extends BaseController
*/
public function actionCouponedit()
{
$this->main_id = 'live';
$this->sub_id = 'room';
$this->sub_title = '优惠码';
if ($posts = Yii::$app->request->Post()) {
//保存
if (!$model = RoomCoupon::findOne(['room_id' => $posts['room_id']])) {
... ...
... ... @@ -36,9 +36,9 @@ class Environmen{
* 开发环境
*/
private static function setDev(){
Yii::setAlias('@www', 'http://test.live.yoho.cn');
Yii::setAlias('@admin', 'http://testadmin.live.yoho.cn');
Yii::setAlias('@api', 'http://testapi.live.yoho.cn');
Yii::setAlias('@www', 'http://live.yoho.cn');
Yii::setAlias('@admin', 'http://admin.live.yoho.cn');
Yii::setAlias('@api', 'http://api.live.yoho.cn');
define('NEWS_DOMAIN','http://newboys.test.yoho.cn/');
define('YOHOBUY_H5_DOMAIN','http://m.yohobuy.com');
... ...