|
@@ -208,7 +208,9 @@ class Index extends Api
|
|
|
];
|
|
|
Apply::insert($apply);
|
|
|
user::money(-$cost,$uid,'申请认识支出');
|
|
|
- Apply::wxMessage(input('nid'),Date('Y-m-d H:i:s'));
|
|
|
+ //Apply::wxMessage(input('nid'),Date('Y-m-d H:i:s'));
|
|
|
+ //发送微信模板消息
|
|
|
+ Apply::wxKnowMessage($this->auth->id,input('nid'),Date('Y-m-d H:i:s'));
|
|
|
Db::commit();
|
|
|
$this->success('解锁成功');
|
|
|
}catch (Exception $e){
|