|
|
@@ -31,7 +31,7 @@ class PicController extends BaseController
|
|
|
$img = '/uploads/201905/25/jpg/19052591518_12358.jpg';
|
|
|
$prefix = Yii::$app->params['imgUrl'];
|
|
|
$url = $prefix . $img;
|
|
|
- $merchantId = Yii::$app->params['merchantId'];
|
|
|
+ $merchantId = $this->merchantId;
|
|
|
$time = time();
|
|
|
$name = '未命名';
|
|
|
$data = ['img' => $img, 'merchantId' => $merchantId, 'name' => $name, 'addTime' => $time];
|
|
|
@@ -101,12 +101,12 @@ class PicController extends BaseController
|
|
|
PicService::top($info);
|
|
|
util::ok();
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
//发送到微信 shish 2019.12.8
|
|
|
public function actionSendToWx()
|
|
|
{
|
|
|
$id = Yii::$app->request->get('id', 0);
|
|
|
util::ok();
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
}
|