|
|
|
@ -10,6 +10,7 @@ use App\Model\OrderMain; |
|
|
|
use App\Model\Store; |
|
|
|
use App\Model\Users; |
|
|
|
use EasyWeChat\Factory; |
|
|
|
use Hyperf\Guzzle\CoroutineHandler; |
|
|
|
|
|
|
|
class MiniprogramService implements MiniprogramServiceInterface |
|
|
|
{ |
|
|
|
@ -141,6 +142,7 @@ class MiniprogramService implements MiniprogramServiceInterface |
|
|
|
} |
|
|
|
|
|
|
|
$app = Factory::miniProgram(config('wxtempmsg')); |
|
|
|
$app['guzzle_handler'] = CoroutineHandler::class; |
|
|
|
$app->uniform_message->send($template); |
|
|
|
} |
|
|
|
|