|
|
@@ -903,15 +903,15 @@ class OrderController extends BaseController
|
|
|
}
|
|
|
$info['hasCloudPrint'] = $hasCloudPrint;
|
|
|
|
|
|
- //店长信息
|
|
|
- $mainId = $info['mainId'] ?? 0;
|
|
|
- $superInfo = ShopAdminClass::getManager($mainId);
|
|
|
- $info['customSuper'] = $superInfo;
|
|
|
-
|
|
|
$purchaseId = $info['purchaseId'] ?? 0;
|
|
|
$cg = PurchaseClass::getById($purchaseId);
|
|
|
$info['cgInfo'] = $cg;
|
|
|
|
|
|
+ //店长信息
|
|
|
+ $mainId = $cg['mainId'] ?? 0;
|
|
|
+ $superInfo = ShopAdminClass::getManager($mainId);
|
|
|
+ $info['customSuper'] = $superInfo;
|
|
|
+
|
|
|
util::success($info);
|
|
|
}
|
|
|
|