attributes = $post; $this->asJson($form->storeUserAdd()); } //充值列表 public function actionStoreGetRechargeList(){ $post = post_params(); $form = new PlatformForm(); $form->attributes = $post; $this->asJson($form->storeGetRechargeList()); } //编辑商户 public function actionStoreMchEdit() { $post = post_params(); $form = new PlatformForm(); $form->attributes = $post; $this->asJson($form->storeMchEdit()); } //删除商户 public function actionStoreMchDel() { $post = post_params(); $form = new PlatformForm(); $form->attributes = $post; $this->asJson($form->storeMchDel()); } //商户列表 public function actionStoreMchList() { $post = post_params(); $form = new PlatformForm(); $form->attributes = $post; $this->asJson($form->storeMchList()); // $this->asJson($form->newStoreMchList()); } //云仓用户是否具备 一键铺货选品的权限 public function actionSetCanDistribution() { $id = input_params('id', 0); $can_distribution = input_params('can_distribution', 0); $storeCloud = \app\models\StoreCloud::findOne($id); $storeCloud->can_distribution = $can_distribution; $save = $storeCloud->save(); $this->asJson([ 'code' => $save ? 0 : 1, 'msg' => $save ? '成功' : '失败', ]); } //商户禁用 public function actionStoreMchEnable() { $post = post_params(); $form = new PlatformForm(); $form->attributes = $post; //$this->asJson($form->storeMchList()); $this->asJson($form->storeMchEnable()); } //关联供应商 public function actionSetCloudPlatform() { $post = post_params(); $form = new PlatformForm(); $form->attributes = $post; $this->asJson($form->setCloudPlatform()); } //商户充值 public function actionStoreSubmitRecharge() { $post = post_params(); $form = new PlatformForm(); $form->attributes = $post; $this->asJson($form->storeSubmitRecharge()); } //创建商户 public function actionStoreMchAdd() { $post = post_params(); $form = new PlatformForm(); $form->attributes = $post; $this->asJson($form->storeMchAdd()); } //余额记录 public function actionStoreGetBalanceLog() { $post = post_params(); $form = new PlatformForm(); $form->attributes = $post; $this->asJson($form->storeGetBalanceLog()); } //供货商提现列表 public function actionStoregetCashList() { $post = post_params(); $form = new PlatformForm(); $form->attributes = $post; $this->asJson($form->storeGetCashList()); } //供货商提现记录 public function actionBalanceCashList() { $post = post_params(); $form = new PlatformForm(); $form->attributes = $post; $this->asJson($form->balanceCashList()); } //供货商提现处理 public function actionStoreActionSupplierCash() { $post = post_params(); $form = new PlatformForm(); $form->attributes = $post; $this->asJson($form->storeActionSupplierCash()); } //获取供货商商品列表 public function actionGoodsList() { $post = post_params(); $form = new PlatformForm(); $form->attributes = $post; $this->asJson($form->goodsList()); } //获取供货商审核商品列表 public function actionGoodsAuditList() { $post = post_params(); $form = new PlatformForm(); $form->attributes = $post; $this->asJson($form->goodsAuditList()); } //操作余额信息 public function actionBalance() { $post = post_params(); $form = new PlatformForm(); $form->attributes = $post; $this->asJson($form->setBalance()); } //创建供货商 public function actionRegist() { $post = post_params(); $form = new PlatformForm(); $form->attributes = $post; $this->asJson($form->createSupplier()); } //查询供货商列表 public function actionList() { $post = post_params(); $form = new PlatformForm(); $form->attributes = $post; $this->asJson($form->listSupplier()); } //删除供货商 public function actionDel() { $post = post_params(); $form = new PlatformForm(); $form->attributes = $post; $this->asJson($form->delSupplier()); } //修改供货商状态 public function actionSetSupplierStatus() { $post = post_params(); $form = new PlatformForm(); $form->attributes = $post; $this->asJson($form->setSupplierStatus()); } //编辑供货商 public function actionEdit() { $post = post_params(); $form = new PlatformForm(); $form->attributes = $post; $form->status = 1; $this->asJson($form->editSupplier()); } //商品审核 public function actionGoodsAuditHandle() { $post = post_params(); $form = new PlatformForm(); $form->attributes = $post; $this->asJson($form->auditHandle()); } //添加商品分类 public function actionSaveGoodsCat() { $post = post_params(); $form = new PlatformForm(); $form->attributes = $post; $this->asJson($form->saveGoodsCat()); } //获取商品分类 public function actionGetGoodsCat() { $post = get_params(); $form = new PlatformForm(); $form->attributes = $post; $this->asJson($form->getGoodsCatList()); } //获取商品分类 public function actionCatChange() { $post = get_params(); $form = new PlatformForm(); $form->attributes = $post; $this->asJson($form->catChange()); } //获取商品分类 public function actionGetGoodsCatList() { $post = get_params(); $form = new PlatformForm(); $form->attributes = $post; $this->asJson($form->getGoodsCatName()); } //删除商品分类 public function actionDelGoodsCat() { $post = get_params(); $form = new PlatformForm(); $form->attributes = $post; $this->asJson($form->goodsCatDel()); } //更改配货单状态 public function actionSetDistributionStatus() { $post = post_params(); $form = new PlatformForm(); $form->attributes = $post; $this->asJson($form->setDistributionStatus()); } //打印配货单 public function actionExportDistributionInfo() { $post = get_params(); $form = new SupplierForm(); $form->attributes = $post; $this->asJson($form->exportDistributionInfo()); } //打印配货单 public function actionGetExportDistributionInfo() { $post = get_params(); $form = new SupplierForm(); $form->attributes = $post; $this->asJson($form->getAgentOrderDistributionList()); } //获取会员等级 public function actionUserLevelSearch() { $form = new PlatformForm(); $form->attributes = get_params(); $this->asJson($form->userLevelSearch()); } //设置会员等级 public function actionSetUserLevel() { $form = new PlatformForm(); $form->attributes = post_params(); $this->asJson($form->setUserLevel()); } //设置会员等级状态 public function actionSetUserLevelStatus() { $form = new PlatformForm(); $form->attributes = get_params(); $this->asJson($form->setUserLevelStatus()); } //设置产品代理佣金比例 public function actionSetAgentGoodsPercent() { $form = new PlatformForm(); $form->attributes = post_params(); $this->asJson($form->setAgentGoodsPercent()); } //获取会员等级 public function actionGetUserLevel() { $form = new PlatformForm(); $form->attributes = get_params(); $this->asJson($form->getUserLevel()); } //设置用户等级 public function actionSetMchLevel() { $form = new PlatformForm(); $form->attributes = post_params(); $this->asJson($form->setMchLevel()); } //获取分拣订单列表 public function actionGetSortingOrder() { $form = new PlatformForm(); $form->attributes = get_params(); $this->asJson($form->getSortingOrder()); } //更改分拣单状态 // public function actionSetSortingStatus() { // $form = new PlatformForm(); // $form->attributes = post_params(); // $this->asJson($form->setSortingStatus()); // } //修改域名 public function actionSetCloudUrl() { $form = new PlatformForm(); $form->attributes = post_params(); $this->asJson($form->setCloudUrl()); } //云仓库存详情 public function actionGetCloudPreviewNumInfo(){ $post = get_params(); $form = new PlatformForm(); $form->attributes = $post; $form->store_id = get_store_id(); $this->asJson($form->getCloudPreviewNumInfo()); } //云仓库存记录 public function actionGetCloudPreviewNumLog(){ $post = get_params(); $form = new PlatformForm(); $form->attributes = $post; $this->asJson($form->getCloudPreviewNumLog()); } //新增云仓库存商品 public function actionAddCloudPreviewGoods(){ $post = post_params(); $form = new PlatformForm(); $form->attributes = $post; $this->asJson($form->addCloudPreviewGoods()); } //修改云仓库存数量 public function actionSetPreviewGoodsNum(){ $post = post_params(); $form = new PlatformForm(); $form->attributes = $post; $this->asJson($form->setPreviewGoodsNum()); } //修改云仓库存商品 public function actionGetCloudPreviewGoodsList(){ $post = post_params(); $form = new PlatformForm(); $form->attributes = $post; $this->asJson($form->getCloudPreviewGoodsList()); } //增加供货渠道 public function actionAddUserGoodsChannel(){ $post = post_params(); $form = new PlatformForm(); $form->attributes = $post; $this->asJson($form->addUserGoodsChannel()); } //供货渠道列表 public function actionUserGoodsChannel(){ $get = get_params(); $form = new PlatformForm(); $form->attributes = $get; $this->asJson($form->userGoodsChannel()); } //供货渠道删除 public function actionUserGoodsChannelStatus(){ $post = post_params(); $form = new PlatformForm(); $form->attributes = $post; $this->asJson($form->userGoodsChannelStatus()); } //设置用户供货渠道 public function actionSetUserGoodsChannel() { $post = post_params(); $form = new PlatformForm(); $form->attributes = $post; $this->asJson($form->setUserGoodsChannel()); } //云仓用户修改店铺 public function actionSetCloudUserStore() { $post = post_params(); $form = new PlatformForm(); $form->attributes = $post; $this->asJson($form->setCloudUserStore()); } //修改商品平台协议价 public function actionSetGoodsPlatformNegotiatedPrice() { $post = post_params(); $form = new PlatformForm(); $form->attributes = $post; $this->asJson($form->setGoodsPlatformNegotiatedPrice()); } //获取云仓报表 public function actionCloudProfitList() { $get = get_params(); $form = new PlatformForm(); $form->attributes = $get; return $this->asJson($form->getCloudProfitList()); } }