Commit 8d5013e0 by 王召彬

Merge branch 'test' of http://git.dev.2b3.cn/tencent/services into test

parents 30b4409b f5c7547a
......@@ -16,8 +16,9 @@ $basePath = dirname(__DIR__, 3);
* ];
*/
function notice($msg)
{
if (!function_exists('buildNotice')){
function buildNotice($msg)
{
$jsonStr = json_encode([
'msgtype' => 'text',
'text' => [
......@@ -40,13 +41,13 @@ function notice($msg)
curl_close($ch);
return array($httpCode, $response);
}
}
try {
var_dump(posix_getpid());
if (!env("NOT_NOTICE") && posix_getpid()==16) {
$msg = "环境:" . env("ENVIRONMENT") . " 项目名称:" . APP_NAME . "————构建成功!";
notice($msg);
buildNotice($msg);
}
} catch (Exception $e) {
var_dump($e->getMessage());
......
......@@ -11,6 +11,7 @@
namespace Hdll\Services\CustomerProfiles\Lib;
use App\Exception\ConException;
use Swoft\Core\ResultInterface;
/**
......@@ -51,4 +52,12 @@ interface ProfileInterface
*/
public function getProfile($storeId, $buyerId);
/**
* 店员统计信息
* @param $storeId
* @param $cmanId
* @return mixed
*/
public function cmanCount($storeId,$cmanId);
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment