|
|
@@ -69,7 +69,6 @@ class IntraCityController extends BaseController
|
|
|
util::fail("缺少必填参数:{$field}");
|
|
|
}
|
|
|
}
|
|
|
- noticeUtil::push("创建跑腿门店,参数 111", '15280215347');
|
|
|
// 创建门店前,检查是否已经 开通门店权限 (有wxStoreId,即说明开通了)
|
|
|
//$shopExt = ShopExtClass::getByCondition(['shopId' => $shopId], true, false, 'id, wxStoreId');
|
|
|
$shopExt = MainClass::getById($this->mainId, true, 'id, wxStoreId');
|
|
|
@@ -80,15 +79,12 @@ class IntraCityController extends BaseController
|
|
|
// if (!is_array($re)) {
|
|
|
// $re = Json::decode($re, true);
|
|
|
// }
|
|
|
-// noticeUtil::push("创建跑腿门店,参数内容:" . json_encode($re), '15280215347');
|
|
|
// if ($re['errcode'] != 0) {
|
|
|
// Yii::error("开通门店权限失败:" . $re['errmsg']);
|
|
|
// util::fail('开通门店权限失败');
|
|
|
// }
|
|
|
}
|
|
|
|
|
|
- noticeUtil::push("创建跑腿门店,参数:" . json_encode($storeData), '15280215347');
|
|
|
-
|
|
|
$result = IntraCityExpress::createStore($storeData);
|
|
|
if ($result['errcode'] === 0) {
|
|
|
// 保存微信门店编号(wx_store_id)
|