|
|
@@ -18,6 +18,27 @@ class ShopExtController extends BaseController
|
|
|
|
|
|
public $guestAccess = [];
|
|
|
|
|
|
+ public function actionModifyExt()
|
|
|
+ {
|
|
|
+ $post = Yii::$app->request->post();
|
|
|
+ $arr = [];
|
|
|
+ if (isset($post['orderFlow'])) {
|
|
|
+ $arr['orderFlow'] = $post['orderFlow'];
|
|
|
+ }
|
|
|
+ if (isset($post['thirdSend'])) {
|
|
|
+ $arr['thirdSend'] = $post['thirdSend'];
|
|
|
+ }
|
|
|
+ if (isset($post['thirdSendFee'])) {
|
|
|
+ $arr['thirdSendFee'] = $post['thirdSendFee'];
|
|
|
+ }
|
|
|
+ if (empty($arr)) {
|
|
|
+ util::fail('没有需要修改');
|
|
|
+ }
|
|
|
+ $shopId = $this->shopId;
|
|
|
+ \bizHd\shop\classes\ShopExtClass::updateByCondition(['shopId' => $shopId], $arr);
|
|
|
+ util::complete('修改成功');
|
|
|
+ }
|
|
|
+
|
|
|
public function actionMyInfo()
|
|
|
{
|
|
|
$shopId = $this->shopId;
|