diff --git a/Application/Base/Service/PromoteService.class.php b/Application/Base/Service/PromoteService.class.php
index 41ea0c15f..ff4e5eb57 100644
--- a/Application/Base/Service/PromoteService.class.php
+++ b/Application/Base/Service/PromoteService.class.php
@@ -193,16 +193,18 @@ class PromoteService {
'chain' => $toPromote['chain'] . $toPromote['id'] . '/'
]);
if (!$status) {
+ $lastSql = M()->getLastSql();
$model->rollback();
- return ['status' => false, 'msg' => '系统异常,修改推广员上级失败'];
+ return ['status' => false, 'msg' => '系统异常,修改推广员上级失败[' . $lastSql . ']'];
}
$status = M('promote', 'tab_')->where($secondMap)->save([
'chain' => ['exp', 'REPLACE(chain, "/' . $fromPromote['id'] . '/","/' . $toPromote['id'] . '/")'],
]);
if (!$status) {
+ $lastSql = M()->getLastSql();
$model->rollback();
- return ['status' => false, 'msg' => '系统异常,修改推广员CHAIN失败'];
+ return ['status' => false, 'msg' => '系统异常,修改推广员CHAIN失败[' . $lastSql . ']'];
}
$status1 = M('ShiftTask')->where('id=' . $task['id'])->save(['status' => 1, 'handle_time' => time()]);
diff --git a/Application/Home/View/default/Promote/children.html b/Application/Home/View/default/Promote/children.html
index 3b9634435..91070f09a 100644
--- a/Application/Home/View/default/Promote/children.html
+++ b/Application/Home/View/default/Promote/children.html
@@ -100,14 +100,6 @@
-
-
- 换组
-
- 取消换组
-
-
-
玩家迁移