|
@@ -11,11 +11,7 @@ class Qc extends Base {
|
|
|
|
|
|
public function index()
|
|
|
{
|
|
|
- $member_list = Db::name('store_member')->field('id,name,phone')->where(['name'=>'象链8837'])->select();
|
|
|
- foreach ($member_list as $v)
|
|
|
- {
|
|
|
- Db::name('store_member')->where('id',$v['id'])->update(['name'=>'象链'.substr($v['phone'],7)]);
|
|
|
- }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
|