Commit 89a5e27e authored by jianghaiming's avatar jianghaiming

update:set

parent 64ce71fb
...@@ -7,6 +7,7 @@ use App\Models\goods\mysql\GoodsSku; ...@@ -7,6 +7,7 @@ use App\Models\goods\mysql\GoodsSku;
use Helpers\Aes; use Helpers\Aes;
use Api\PhpServices\JwUser\JwUser; use Api\PhpServices\JwUser\JwUser;
use Api\PhpServices\Ksy\Ksyun; use Api\PhpServices\Ksy\Ksyun;
use Api\PhpServices\ShopImage\GetImage;
class MarketinggoodsController extends Base class MarketinggoodsController extends Base
{ {
const KS3_BASE_URL = 'ks3-cn-beijing.ksyun.com'; const KS3_BASE_URL = 'ks3-cn-beijing.ksyun.com';
...@@ -84,8 +85,13 @@ class MarketinggoodsController extends Base ...@@ -84,8 +85,13 @@ class MarketinggoodsController extends Base
'nick_name' => $nickName, 'nick_name' => $nickName,
'avatar' => $avatar, 'avatar' => $avatar,
]; ];
$result = ['result' => $data];
$this->success($result);
$getImage = new GetImage();
$buyCount =1;
$getImage->getGoods($avatar,$goodsImg,$nickName, $goodsName,$goods_share_url,$price, $oldPrice,$buyCount);
//$result = ['result' => $data];
//$this->success($result);
} }
public function get_marketing_goods_listAction() public function get_marketing_goods_listAction()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment