|
|
@@ -50,10 +50,10 @@ class TestController extends Controller
|
|
|
$staffList = ShopAdminClass::getAllByCondition(['mainId' => $mainId], null, 'id,adminId,mobile', null, true);
|
|
|
if (!empty($staffList)) {
|
|
|
foreach ($staffList as $staff) {
|
|
|
- echo $staff->id;die;
|
|
|
$adminId = $staff->adminId;
|
|
|
$mobile = $staff->mobile;
|
|
|
AdminClass::updateById($adminId, ['mobile' => $mobile]);
|
|
|
+ echo $mobile.' '.$staff->id;die;
|
|
|
}
|
|
|
}
|
|
|
}
|