|
@@ -162,6 +162,11 @@ class User extends Controller
|
|
return $this->renderSuccess([], 'Successful! Tell your friends to check for new emails.');
|
|
return $this->renderSuccess([], 'Successful! Tell your friends to check for new emails.');
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 生成马甲号
|
|
|
|
+ * @return \think\response\Json
|
|
|
|
+ * @throws \Exception
|
|
|
|
+ */
|
|
public function genFakeUsers()
|
|
public function genFakeUsers()
|
|
{
|
|
{
|
|
|
|
|
|
@@ -391,12 +396,230 @@ class User extends Controller
|
|
'Juniper',
|
|
'Juniper',
|
|
'Theo',
|
|
'Theo',
|
|
'Maeve'];
|
|
'Maeve'];
|
|
- //pre(count($names));
|
|
|
|
|
|
+ $salt = 'xxxxxx';
|
|
|
|
+ $password = md5('123456' . $salt);
|
|
|
|
|
|
for ($i = 0; $i < 100; $i++) {
|
|
for ($i = 0; $i < 100; $i++) {
|
|
- $mobile = $names[rand(0,225)] . '_' . rand(1000, 9999);
|
|
|
|
- pre($mobile);
|
|
|
|
|
|
+ $user = [];
|
|
|
|
+ $temp = $names[rand(0, 225)] . '_' . rand(100000, 999999);
|
|
|
|
+ $user['mobile'] = $temp . '@fvp.com';
|
|
|
|
+ $user['nick_name'] = $temp;
|
|
|
|
+ $user['avatar_id'] = 0;
|
|
|
|
+ $user['gender'] = 1;
|
|
|
|
+ $user['country'] = 'US';
|
|
|
|
+ $user['province'] = '';
|
|
|
|
+ $user['city'] = '';
|
|
|
|
+ $user['address_id'] = 0;
|
|
|
|
+ $user['balance'] = 0;
|
|
|
|
+ $user['points'] = 0;
|
|
|
|
+ $user['pay_money'] = 0;
|
|
|
|
+ $user['expend_money'] = 0;
|
|
|
|
+ $user['platform'] = 'h5';
|
|
|
|
+ $user['last_login_time'] = time();
|
|
|
|
+ $user['is_delete'] = 0;
|
|
|
|
+ $user['store_id'] = 10001;
|
|
|
|
+ $user['create_time'] = time();
|
|
|
|
+ $user['update_time'] = time();
|
|
|
|
+ $user['salt'] = $salt;
|
|
|
|
+ $user['password'] = $password;
|
|
|
|
+ $users[] = $user;
|
|
}
|
|
}
|
|
|
|
+ $userModel = new \app\index\model\User();
|
|
|
|
+ $userModel->saveAll($users);
|
|
|
|
+ return $this->renderSuccess([], 'Successful!');
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public function genGoodsComments()
|
|
|
|
+ {
|
|
|
|
+ $others = ['very realistic',];
|
|
|
|
+ $favor = ['tastes very good',
|
|
|
|
+ 'like fresh strawberries',
|
|
|
|
+ 'refreshing but not overwhelming',
|
|
|
|
+ 'very refreshing',
|
|
|
|
+ 'tastes like enjoying a cup of hot cocoa',
|
|
|
|
+ 'completely different from the bitterness and throat irritation of traditional cigarettes',
|
|
|
|
+ 'different favor',
|
|
|
|
+ "Tastes like enjoying a cup of hot cocoa, warm and delightful.",
|
|
|
|
+ "addictive!",
|
|
|
|
+ "Feels like biting into a fresh apple, crisp and delicious.",
|
|
|
|
+ "There's a subtle vanilla flavor, making you feel like you're in a garden.",
|
|
|
|
+ "Tastes like caramel with a delicate sweetness.",
|
|
|
|
+ "It feels like savoring the aroma of freshly baked bread, absolutely tantalizing.",
|
|
|
|
+ "Tastes like sipping on a tangy-sweet lemonade.",
|
|
|
|
+ "There's a refreshing oceanic taste, making you feel like you're on the beach.",
|
|
|
|
+ "The taste of this electronic product is like fresh grass, uplifting.",
|
|
|
|
+ "It feels like tasting the richness of coffee.",
|
|
|
|
+ "Feels like indulging in a mouthful of creamy ice cream, smooth and delicious.",
|
|
|
|
+ "Tastes a bit like smelling a bouquet of fresh roses.",
|
|
|
|
+ "Feels like tasting the aroma of freshly baked bread.",
|
|
|
|
+ "There's a rich chocolate flavor, making you feel like you're in heaven.",
|
|
|
|
+ "The taste of this electronic product is like a fresh fruit platter, delightful in every way.",
|
|
|
|
+ "The taste is like savoring a mouthful of sweet honey.",
|
|
|
|
+ "Feels like enjoying a cup of mild tea, warm and comforting.",
|
|
|
|
+ "Tastes like indulging in a sweet and chilled fruit juice.",
|
|
|
|
+ "There's a refreshing herbal taste, making you feel refreshed.",
|
|
|
|
+ "Feels like savoring a cup of rich Italian coffee, strong and aromatic.",
|
|
|
|
+ "The taste is like enjoying a dense chocolate cake.",
|
|
|
|
+ "Feels like being surrounded by the scent of flowers in a garden.",
|
|
|
|
+ "Tastes a bit like biting into a fresh watermelon, sweet and juicy.",
|
|
|
|
+ "There's a cool minty flavor, instantly refreshing.",
|
|
|
|
+ "Feels like savoring a cup of aromatic latte, full of vitality.",
|
|
|
|
+ "Tastes like indulging in a sweet marshmallow.",
|
|
|
|
+ "Feels like enjoying a tangy-sweet lemon tea.",
|
|
|
|
+ "Tastes a bit like sipping on a fresh coconut water, sweet and refreshing.",
|
|
|
|
+ "There's a subtle vanilla flavor, uplifting the mood.",
|
|
|
|
+ "Feels like savoring a rich chocolate cake, delicious and delightful.",
|
|
|
|
+ "Tastes like enjoying a cool scoop of ice cream.",
|
|
|
|
+ "Feels like being surrounded by the scent of fresh flowers.",
|
|
|
|
+ "Tastes a bit like indulging in a scoop of fresh strawberry ice cream.",
|
|
|
|
+ "There's a rich coffee flavor, making you feel energetic.",
|
|
|
|
+ "Feels like savoring a cup of steaming hot black tea, warm and comforting.",
|
|
|
|
+ "Tastes like indulging in a rich chocolate cake.",
|
|
|
|
+ "Feels like enjoying a cup of sweet coconut milkshake.",
|
|
|
|
+ "Tastes a bit like savoring a fresh blueberry ice cream.",
|
|
|
|
+ "There's a subtle herbal taste, making you feel connected to nature.",
|
|
|
|
+ "Feels like savoring a cup of aromatic mocha coffee, with fragrance filling the air.",
|
|
|
|
+ "Tastes like enjoying a smooth scoop of mango ice cream.",
|
|
|
|
+ "Feels like bathing in the refreshing scent of oranges.",
|
|
|
|
+ "Tastes a bit like indulging in a sweet fruit salad.",
|
|
|
|
+ 'very rich',
|
|
|
|
+ 'So rich',
|
|
|
|
+ 'Very delicate',
|
|
|
|
+ 'So Delicate',
|
|
|
|
+ 'Fresh',
|
|
|
|
+ 'Pleasant',
|
|
|
|
+ 'Refreshing',
|
|
|
|
+ 'Robust',
|
|
|
|
+ 'Aromatic',
|
|
|
|
+ 'So Clean',
|
|
|
|
+ 'Clean',
|
|
|
|
+ 'Mild',
|
|
|
|
+ 'Very Sweet',
|
|
|
|
+ 'So Smooth',
|
|
|
|
+ 'Mellow',
|
|
|
|
+ 'Fragrant',
|
|
|
|
+ 'So Warm',
|
|
|
|
+ 'Intense',
|
|
|
|
+ 'Light',
|
|
|
|
+ 'Velvety',
|
|
|
|
+ 'Deep',
|
|
|
|
+ 'So deep',
|
|
|
|
+ 'Satisfying',
|
|
|
|
+ 'Subtle sweetness',
|
|
|
|
+ 'Minty freshness',
|
|
|
|
+ 'Luscious',
|
|
|
|
+ 'Sweet-tasting',
|
|
|
|
+ 'Long-lasting aftertaste',
|
|
|
|
+ 'Zesty',
|
|
|
|
+ 'Pure',
|
|
|
|
+ 'Very Pure',
|
|
|
|
+ 'Silky',
|
|
|
|
+ 'Very Silky',
|
|
|
|
+ 'Fiery',
|
|
|
|
+ 'Icy',
|
|
|
|
+ 'Very Icy',
|
|
|
|
+ 'Exquisite fragrance',
|
|
|
|
+ 'Comforting',
|
|
|
|
+ 'Honeyed',
|
|
|
|
+ 'Strong',
|
|
|
|
+ 'So Strong, I like it',
|
|
|
|
+ 'Balanced acidity',
|
|
|
|
+ 'Subtle',
|
|
|
|
+ 'Silken',
|
|
|
|
+ 'Smooth and mellow',
|
|
|
|
+ 'Creamy',
|
|
|
|
+ 'Rich flavor',
|
|
|
|
+ 'Delicious',
|
|
|
|
+ 'Richly fragrant',
|
|
|
|
+ 'Comfortable',
|
|
|
|
+ 'Tasty',
|
|
|
|
+ 'Tasty good',
|
|
|
|
+ 'Full-bodied',
|
|
|
|
+ 'Fresh and invigorating',
|
|
|
|
+ 'Refreshing',
|
|
|
|
+ 'Pleasing to the palate',
|
|
|
|
+ 'Crisp',
|
|
|
|
+ 'Complex',
|
|
|
|
+ 'Satisfying',
|
|
|
|
+ ];
|
|
|
|
+ $price = [
|
|
|
|
+ 'Affordable',
|
|
|
|
+ 'Budget-friendly',
|
|
|
|
+ 'Inexpensive',
|
|
|
|
+ 'Economical',
|
|
|
|
+ 'Cost-effective',
|
|
|
|
+ 'Reasonably priced',
|
|
|
|
+ 'Wallet-friendly',
|
|
|
|
+ 'Cheap',
|
|
|
|
+ 'Low-cost',
|
|
|
|
+ 'Pocket-friendly',
|
|
|
|
+ 'Bargain',
|
|
|
|
+ 'Value for money',
|
|
|
|
+ 'Dirt cheap',
|
|
|
|
+ 'Cost-efficient',
|
|
|
|
+ 'Discounted',
|
|
|
|
+ 'Thrifty',
|
|
|
|
+ 'Economically priced',
|
|
|
|
+ 'Within budget',
|
|
|
|
+ 'Modestly priced',
|
|
|
|
+ 'Frugal',
|
|
|
|
+ 'Low-priced',
|
|
|
|
+ 'Marked down',
|
|
|
|
+ 'Unbeatable price',
|
|
|
|
+ 'Discounted rate',
|
|
|
|
+ 'Value-priced',
|
|
|
|
+ 'Competitive pricing',
|
|
|
|
+ 'Affordable option',
|
|
|
|
+ 'Great value',
|
|
|
|
+ 'Rock-bottom prices',
|
|
|
|
+ 'Cost-conscious',
|
|
|
|
+ 'Sale price',
|
|
|
|
+ 'Reasonable cost',
|
|
|
|
+ 'Budget-conscious',
|
|
|
|
+ 'Discount pricing',
|
|
|
|
+ 'Low-priced option',
|
|
|
|
+ 'Wallet-friendly choice',
|
|
|
|
+ 'Entry-level pricing',
|
|
|
|
+ 'Discounted deal',
|
|
|
|
+ 'Cost-saving',
|
|
|
|
+ 'Discounted rate',
|
|
|
|
+ 'Sale bargain',
|
|
|
|
+ 'Unmatched value',
|
|
|
|
+ 'Unbelievably cheap',
|
|
|
|
+ 'Steal deal',
|
|
|
|
+ 'Slashed prices',
|
|
|
|
+ 'Reduced rate',
|
|
|
|
+ 'Great deal',
|
|
|
|
+ 'Budget-friendly option',
|
|
|
|
+ 'Money-saving',
|
|
|
|
+ 'On a budget',
|
|
|
|
+ ];
|
|
|
|
+ $amount = ['the amount of smoke is very large', 'very large', 'On sale',
|
|
|
|
+ 'Abundant',
|
|
|
|
+ 'Plentiful',
|
|
|
|
+ 'Ample',
|
|
|
|
+ 'Copious',
|
|
|
|
+ 'Generous',
|
|
|
|
+ 'Substantial',
|
|
|
|
+ 'Bountiful',
|
|
|
|
+ 'Overflowing',
|
|
|
|
+ 'Profuse',
|
|
|
|
+ 'Plenty',
|
|
|
|
+ 'Rich in quantity',
|
|
|
|
+ 'Prolific',
|
|
|
|
+ 'Luxuriant',
|
|
|
|
+ 'In abundance',
|
|
|
|
+ ];
|
|
|
|
+ $delivery = [];
|
|
|
|
+ $end = ['good', 'my favorite'];
|
|
|
|
+
|
|
|
|
+ $pool = [
|
|
|
|
+ 'The taste of this e-cigarette is really great, completely different from the bitterness and throat irritation of traditional cigarettes.',
|
|
|
|
+ 'The smoke effect of electronic cigarettes is very realistic, as if I can truly feel the pleasure of smoking, and the amount of smoke is very large, so I can enjoy the smoking experience for a long time.',
|
|
|
|
+ 'After switching to e-cigarettes, I found that my body seemed to be healthier and there was no intake of harmful substances like traditional cigarettes. It was really great.',
|
|
|
|
+ 'Electronic cigarettes are very environmentally friendly, do not produce smoke, and have no negative impact on the environment, which makes me feel very proud.',
|
|
|
|
+ 'very portable', ' I can use them anytime, anywhere. They are very convenient, and I no longer have to worry about not finding an ashtray.'
|
|
|
|
+ ];
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|